VideoPlayerController.network constructor
VideoPlayerController.network(
- String dataSource, {
- 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));