VideoPlayerController.network constructor

VideoPlayerController.network(
  1. String dataSource, {
  2. VideoViewType viewType = VideoViewType.textureView,
})

Constructs a VideoPlayerController playing a video from obtained from the network.

Implementation

VideoPlayerController.network(
  this.dataSource, {
  this.viewType = VideoViewType.textureView,
}) : dataSourceType = DataSourceType.network,
     package = null,
     super(const VideoPlayerValue(duration: Duration.zero));