YoutubeVideoSupportMode enum

Will be removed soon in future releases.

Inheritance
Available extensions
Annotations
  • @experimental
  • @Deprecated('YouTube video support will be removed soon and completely in the next releases.')

Values

disabled → const YoutubeVideoSupportMode

Will be removed soon in future releases. Disable loading of YouTube videos. Will be removed soon in future releases.

iframeView → const YoutubeVideoSupportMode

Will be removed soon in future releases.

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

Important: We had to remove flutter_inappwebview and youtube_player_flutter as non breaking change since most users are unable to build the project, preventing them from using

Will be removed soon in future releases.

customPlayerWithDownloadUrl → const YoutubeVideoSupportMode

Will be removed soon in future releases.

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.

WARNING: We highly suggest to not use this solution, can cause issues with YouTube Terms of Service and require a extra dependency for all users. YouTube servers can reject requests and respond with Sign in to confirm you’re not a bot See related issue: https://github.com/Hexer10/youtube_explode_dart/issues/282

Will be removed soon in future releases.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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.