loadVideoByUrl abstract method

Future<void> loadVideoByUrl({
  1. required String mediaContentUrl,
  2. double? startSeconds,
  3. double? endSeconds,
})
inherited

This function loads and plays the specified video.

mediaContentUrl specifies a fully qualified YouTube player URL in the format http://www.youtube.com/v/VIDEO_ID?version=3.

startSeconds specifies the time from which the video should start playing. If startSeconds is specified, the video will start from the closest keyframe to the specified time.

endSeconds specifies the time when the video should stop playing.

Implementation

Future<void> loadVideoByUrl({
  required String mediaContentUrl,
  double? startSeconds,
  double? endSeconds,
});