playNextVideo method

void playNextVideo()

Play next video form playlist. Do not use manually.

Implementation

void playNextVideo() {
  _nextVideoTime = 0;
  _nextVideoTimeStreamController.add(_nextVideoTime);
  _postEvent(
      PipFlutterPlayerEvent(PipFlutterPlayerEventType.changedPlaylistItem));
  cancelNextVideoTimer();
}