YoutubeVideoSupportMode enum
Enum represents the different modes for handling YouTube video support.
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
- 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
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.