VideoPlayerController.network constructor
VideoPlayerController.network(
- String dataSource, {
- VideoFormat? formatHint,
- Future<
ClosedCaptionFile> ? closedCaptionFile, - VideoPlayerOptions? videoPlayerOptions,
- Map<
String, String> httpHeaders = const {},
Implementation
VideoPlayerController.network(
this.dataSource, {
this.formatHint,
this.closedCaptionFile,
this.videoPlayerOptions,
this.httpHeaders = const {},
}) : dataSourceType = DataSourceType.network,
package = null,
super(VideoPlayerValue(duration: Duration.zero));