Open MagicalTux opened 5 years ago
Sorry for posting here. @MagicalTux thank you, I had the same opinion and I am using WebView to develop my app, any idea on how to handle Secure Origin with Flutter webview, https://stackoverflow.com/questions/54470420/flutter-web-view-secure-origin
@skjagini why would you use html at all in this? Just remove use of Uri.dataFromString and set initialUrl to your embedding url directly (https://www.youtube.com/embed/vlkNcHDFnGA for example)
This plugin uses https://github.com/0xced/XCDYouTubeKit on iOS, which contains the following warning in its readme:
Because this plugin uses the official Youtube player module on android (
com.google.android.youtube.player.YouTubePlayer
) I had assumed something similar was the case on iOS, and used this plugin with this in mind, however about a week ago, playback broke for many videos (see issue https://github.com/0xced/XCDYouTubeKit/issues/419). Because it is not an officially supported player, this results in both terms of service violation and instability, risks, etc (when you have a live iOS app and it stops working, you can't just push a quick update - it needs to be approved by apple/etc).While there isn't much that can be done about it, at least a warning should be shown in the README.