PlayVideoFrom class
Constructors
-
PlayVideoFrom.asset(String dataSource, {String? package, Future<ClosedCaptionFile>? closedCaptionFile, VideoPlayerOptions? videoPlayerOptions})
-
factory
-
PlayVideoFrom.file(File file, {Future<ClosedCaptionFile>? closedCaptionFile, VideoPlayerOptions? videoPlayerOptions})
-
File Doesnot support web apps
file
is File
Datatype import it from dart:io
factory
-
PlayVideoFrom.network(String dataSource, {VideoFormat? formatHint, Future<ClosedCaptionFile>? closedCaptionFile, VideoPlayerOptions? videoPlayerOptions, })
-
factory
-
PlayVideoFrom.networkQualityUrls({required List<VideoQalityUrls> videoUrls, VideoFormat? formatHint, Future<ClosedCaptionFile>? closedCaptionFile, VideoPlayerOptions? videoPlayerOptions, })
-
factory
-
PlayVideoFrom.vimeo(String dataSource, {String? hash, VideoFormat? formatHint, Future<ClosedCaptionFile>? closedCaptionFile, VideoPlayerOptions? videoPlayerOptions, })
-
factory
-
PlayVideoFrom.vimeoPrivateVideos(String dataSource, {VideoFormat? formatHint, Future<ClosedCaptionFile>? closedCaptionFile, VideoPlayerOptions? videoPlayerOptions, })
-
factory
-
PlayVideoFrom.youtube(String dataSource, {bool live = false, VideoFormat? formatHint, Future<ClosedCaptionFile>? closedCaptionFile, VideoPlayerOptions? videoPlayerOptions, })
-
factory
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited