play method

void play()

Plays the currently cued/loaded video.

The final player state after this function executes will be PlayerState.playing.

Note: A playback only counts toward a video's official view count if it is initiated via a native play button in the player.

Implementation

void play() => invokeJavascript('play()');