VideoControllerProvider constructor

VideoControllerProvider({
  1. required String videoUrl,
  2. bool? autoplay,
  3. bool? loop,
})

初始化 videoUrl 视频地址 autoplay 是否自动播放

Implementation

VideoControllerProvider({
  required String videoUrl,
  bool? autoplay,
  bool? loop,
}) {
  loadVideo(videoUrl: videoUrl, autoplay: autoplay, loop: loop);
}