PlayVideoFrom.file constructor
PlayVideoFrom.file(
- File file, {
- Future<
ClosedCaptionFile> ? closedCaptionFile, - VideoPlayerOptions? videoPlayerOptions,
File Doesnot support web apps
file
is File
Datatype import it from dart:io
Implementation
factory PlayVideoFrom.file(
File file, {
Future<ClosedCaptionFile>? closedCaptionFile,
VideoPlayerOptions? videoPlayerOptions,
}) {
return PlayVideoFrom._(
file: file,
playerType: PodVideoPlayerType.file,
closedCaptionFile: closedCaptionFile,
videoPlayerOptions: videoPlayerOptions,
);
}