videoJs static method

WebPlayerSource videoJs(
  1. String url, {
  2. String? poster,
  3. bool? autoPlay,
  4. Widget customControlsBuilder(
    1. 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);
}