|
|
@ -1,4 +1,4 @@ |
|
|
|
/// Enum representing the different modes for handling YouTube video support. |
|
|
|
/// Enum represents the different modes for handling YouTube video support. |
|
|
|
enum YoutubeVideoSupportMode { |
|
|
|
enum YoutubeVideoSupportMode { |
|
|
|
/// Disable loading of YouTube videos. |
|
|
|
/// Disable loading of YouTube videos. |
|
|
|
disabled, |
|
|
|
disabled, |
|
|
@ -8,6 +8,8 @@ enum YoutubeVideoSupportMode { |
|
|
|
/// |
|
|
|
/// |
|
|
|
/// This will use Platform View on native platforms to use WebView |
|
|
|
/// This will use Platform View on native platforms to use WebView |
|
|
|
/// The WebView might not be supported on Desktop and will throw an exception |
|
|
|
/// The WebView might not be supported on Desktop and will throw an exception |
|
|
|
|
|
|
|
/// |
|
|
|
|
|
|
|
/// See [Flutter InAppWebview Support for Flutter Desktop](https://github.com/pichillilorenzo/flutter_inappwebview/issues/460) |
|
|
|
iframeView, |
|
|
|
iframeView, |
|
|
|
|
|
|
|
|
|
|
|
/// Load the video using a custom video player by fetching the YouTube video URL. |
|
|
|
/// Load the video using a custom video player by fetching the YouTube video URL. |
|
|
|