YoutubeVideoSupportMode enum

Enum represents the different modes for handling YouTube video support.

Inheritance

Constructors

YoutubeVideoSupportMode()
const

Values

disabled → const YoutubeVideoSupportMode

Disable loading of YouTube videos.

iframeView → const YoutubeVideoSupportMode

Load the video using the official YouTube IFrame API. See YouTube IFrame API for more details.

This will use Platform View on native platforms to use WebView The WebView might not be supported on Desktop and will throw an exception

See Flutter InAppWebview Support for Flutter Desktop

customPlayerWithDownloadUrl → const YoutubeVideoSupportMode

Load the video using a custom video player by fetching the YouTube video URL. Note: This might violate YouTube's terms of service. See YouTube Terms of Service for more details.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<YoutubeVideoSupportMode>
A constant List of the values in this enum, in order of their declaration.