pauseVideo method

  1. @override
Future<void> pauseVideo()

Pauses the currently playing video. The final player state after this function executes will be paused (2) unless the player is in the ended (0) state when the function is called, in which case the player state will not change.

Implementation

@override
Future<void> pauseVideo() {
  return _run('pauseVideo');
}