video static method
WebPlayerSource
video(
- String src,
- WebPlayerVideoSourceType type, {
- String? poster,
- bool? autoPlay,
- List<
VideoTrack> ? textTracks,
Implementation
static WebPlayerSource video(
String src,
WebPlayerVideoSourceType type, {
String? poster,
bool? autoPlay,
List<VideoTrack>? textTracks,
}) {
return WebPlayerSource._(
poster: poster,
autoPlay: autoPlay,
src: src,
type: type.typeText,
textTracks: textTracks,
);
}