02-11-2013 02:11 PM
<iframe width="560" height="315" src="http://www.youtube.com/embed/QZuOKUrwoys" frameborder="0" allowfullscreen></iframe>
02-11-2013 02:26 PM
Unfortunately, at the moment, the WebView component within native apps has limitations in terms of HTML5 Video, Flash and iFrame. However, you should be able to make a proper BlackBerry 10 YouTube app using WebWorks or AIR runtime. In that way, you should have access to the higher streams. For example, in AIR, you can acquire a MediaPlayer object; set the content ID (the unique ID of the video on YouTube be played, which you'd acquire via YouTube API).
We would also recommend to log a feature request for the native WebView component to support the desired features. It will help us to request for the changes with the development team(s). You can file feature requests here:
02-11-2013 02:45 PM
Unfortunately re-writing our entire application out of cascades and into Air is not an appropriate solution.
I have created a bug for this and I hope it gets addressed quickly.
02-12-2013 04:15 PM
Yes, it is an unfortunate limitation right now for Cascades WebView; we are trying to escalate it with the internal development teams.
However, I should point out that as a temporary solution (although a very poor experience), you could just invoke that particular YouTube URL with the browser app to do the the playback (just for now, until the Cascades WebView supports it natively).
02-18-2013 11:57 AM
02-18-2013 02:27 PM
Are you asking how to invoke the browser app with a specific .html file or a URI? You should be able to do this invocation like any other card invocation. I'm assuming you already checked out some of the public resources/sample apps for invocation?
For example, here are some:
02-18-2013 02:35 PM
2 weeks ago
Note that the issue was the support for the HTML5 Video tag within the Cascades WebView. iFrame tags should have been already supported separately (as it should be now).
Starting with the latest 10.1 OS versions, you should be able to embed the HTML5 Video (with iFrame) for YouTube as well. But the design/implementation was such that it would take the user to a full screen video player, similar to what you see happen through the browser app, when playing YouTube videos. Are you seeing this is not the case right now?