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, Map<String, String> httpHeaders = const {}})
factory
PlayVideoFrom.networkQualityUrls({required List<VideoQalityUrls> videoUrls, VideoFormat? formatHint, Future<ClosedCaptionFile>? closedCaptionFile, VideoPlayerOptions? videoPlayerOptions, Map<String, String> httpHeaders = const {}})
factory
PlayVideoFrom.vimeo(String dataSource, {String? hash, VideoFormat? formatHint, Future<ClosedCaptionFile>? closedCaptionFile, VideoPlayerOptions? videoPlayerOptions, Map<String, String> httpHeaders = const {}})
factory
PlayVideoFrom.vimeoPrivateVideos(String dataSource, {VideoFormat? formatHint, Future<ClosedCaptionFile>? closedCaptionFile, VideoPlayerOptions? videoPlayerOptions, Map<String, String> httpHeaders = const {}})
factory
PlayVideoFrom.youtube(String dataSource, {bool live = false, VideoFormat? formatHint, Future<ClosedCaptionFile>? closedCaptionFile, VideoPlayerOptions? videoPlayerOptions, Map<String, String> httpHeaders = const {}})
factory

Properties

closedCaptionFile Future<ClosedCaptionFile>?
final
dataSource String?
final
file File?
final
formatHint VideoFormat?
final
hash String?
final
hashCode int
The hash code for this object.
no setterinherited
httpHeaders Map<String, String>
final
live bool
final
package String?
final
playerType PodVideoPlayerType
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
videoPlayerOptions VideoPlayerOptions?
final
videoQualityUrls List<VideoQalityUrls>?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited