withUrl static method

WebPlayerSource withUrl(
  1. String url, {
  2. String? poster,
  3. bool? autoPlay,
})

Implementation

static WebPlayerSource withUrl(
  String url, {
  String? poster,
  bool? autoPlay,
}) {
  return WebPlayerSource._(
      url: url,
      poster: poster,
      type: WebPlayerSourceType.iframe,
      autoPlay: autoPlay,
      customControlsBuilder: null);
}