That’s what I suspected. I would appreciate if you could add an option to allow the developer to set this.
I have an app were I need to display YouTube videos and I’m getting inconsistent behaviour on Android.
iOS is fine as is Android 4.1+ (as Flash is not available on these devices), which forces the HTML5 version of the video to be played.
Flash is dead on all versions of Android, however it continues to kick on devices that have a built-in version.
I want the HTML5 versions of the YouTube videos to be displayed on all devices. What I’m seeing on pre 4.1 devices is poor performance and erratic behaviour when the Flash versions are played, especially if the YouTube user has activated advertisements.
On devices with poor performance with the Corona SDK webView, I’ve done some testing by loading the same html-file I’m using with the webView in the stock browser instead, making sure that plugins are off to force the HTML5 version to play. When plugins are off, the HTML5 video plays perfectly on these devices.
I was hoping that the Corona webView would honour the browser’s plugin setting, however that doesn’t seem to be the case. For me, the only way to get consistent behaviour across Android devices is to disable Flash content from being played in a webView. And the only way to do that would be to set the webView plugin state to OFF.
I would really appreciate it :wub: if you could add an option to allow the developer to set this.