playVideo method

  1. @override
Future<void> playVideo()

Plays the currently cued/loaded video. The final player state after this function executes will be playing (1).

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

Implementation

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