02-11-2013 02:11 PM
<iframe width="560" height="315" src="http://www.youtube.com/embed/QZuOKUrwoys" frameborder="0" allowfullscreen></iframe>
Solved! Go to Solution.
05-31-2013 03:46 PM
Yes, at the moment, the Cascades WebView is only supporting (officially) the YouTube / HTML5 videos by going to a full screen video player screen (haven't had the chance to test it out myself though); this was the intended design for now. Later on, this might be improved.
For the webkit runtime (for example, for web apps on BlackBerry 10, adding webkit-plays-inline to the video tag can avoid going to the full screen Web player UI. However, I doubt you can use that properly, especially on the Cascades WebView though (but should be easy to quickly test it out).
Application Development Consultant | Developer Relations
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
05-06-2013 11:01 AM
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?
05-30-2013 06:01 PM
Exactly, now with the latest 10.1 OS versions, we should use iframe for YouTube video and, unfortunately, it start in a a full screen!!
Have you an idea to avoid this situation?
I tried to modify the property :
but it's always the same