PlayVideoFrom.vimeo constructor
PlayVideoFrom.vimeo(
- String dataSource, {
- String? hash,
- VideoFormat? formatHint,
- Future<
ClosedCaptionFile> ? closedCaptionFile, - VideoPlayerOptions? videoPlayerOptions,
- Map<
String, String> httpHeaders = const {},
Implementation
factory PlayVideoFrom.vimeo(
String dataSource, {
String? hash,
VideoFormat? formatHint,
Future<ClosedCaptionFile>? closedCaptionFile,
VideoPlayerOptions? videoPlayerOptions,
Map<String, String> httpHeaders = const {},
}) {
return PlayVideoFrom._(
playerType: PodVideoPlayerType.vimeo,
dataSource: dataSource,
hash: hash,
formatHint: formatHint,
closedCaptionFile: closedCaptionFile,
videoPlayerOptions: videoPlayerOptions,
httpHeaders: httpHeaders,
);
}