BlingVideoPlayerController constructor
BlingVideoPlayerController({})
assets://xxxxx file://xxxxxx httpăhttps ://xxxx
Implementation
BlingVideoPlayerController(
{String? dataSource,
this.package,
bool isLooping = false,
bool autoPlay = true,
bool? mixWithOthers,
Future<ClosedCaptionFile>? closedCaptionFile,
Widget? prepare,
Alignment? alignment,
BoxFit? fit}) {
if (dataSource != null) {
setDataSource(
dataSource,
package: package,
isLooping: isLooping,
autoPlay: autoPlay,
mixWithOthers: mixWithOthers,
closedCaptionFile: closedCaptionFile,
prepare: prepare,
alignment: alignment,
fit: fit,
);
}
}