videoJs static method
WebPlayerSource
videoJs(
- String url, {
- String? poster,
- bool? autoPlay,
- Widget customControlsBuilder(
- WebVideoPlayerController controller
Implementation
static WebPlayerSource videoJs(String url,
{String? poster,
bool? autoPlay,
final Widget Function(WebVideoPlayerController controller)?
customControlsBuilder}) {
return WebPlayerSource._(
url: url,
poster: poster,
type: WebPlayerSourceType.videoJs,
autoPlay: autoPlay,
customControlsBuilder: customControlsBuilder);
}