pause method

void pause()

Pauses the currently playing video.

The final player state after this function executes will be PlayerState.paused unless the player is in the PlayerState.ended state when the function is called, in which case the player state will not change.

Implementation

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