getControllerForVideo abstract method

Future<VideoPlayerController> getControllerForVideo(
  1. VideoModel videoModel,
  2. bool isCaching
)

Gets a VideoPlayerController for a given video model.

videoModel contains the video URL and additional configuration options. isCaching determines whether the video should be cached for future use.

Returns a VideoPlayerController configured for the given video.

Implementation

Future<VideoPlayerController> getControllerForVideo(
  VideoModel videoModel,
  bool isCaching,
);