play method

Future<void> play()

Starts or resumes video playback.

Implementation

Future<void> play() async {
  // Remove or comment out debugPrints in production for performance
  // debugPrint('YPlayerController: Play requested');
  await _player.play();
}