pause method
Stop video playback.
Implementation
Future<void> pause() async {
if (videoPlayerController == null) {
throw StateError("The data source has not been initialized");
}
await videoPlayerController!.pause();
_postEvent(PipFlutterPlayerEvent(PipFlutterPlayerEventType.pause));
}