Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Posts: 125
Registered: ‎10-02-2011
My Device: Playbook
My Carrier: none
Accepted Solution

Launch FullScreen Video on PlayBook

Is there a way to launch a video fullscreen on the PlayBook? Right now I'm opening a video that is set at 1024x600, but the effect isn't as good as the normal fullscreen mode.

Posts: 165
Registered: ‎09-24-2012
My Device: Passport
My Carrier: Bell

Re: Launch FullScreen Video on PlayBook

Hello Wmatt,


The spec for FullScreen HTML5 Video is still in its infancy, and currently there is no way to programmatically trigger video in Full Screen (same behavior as Chrome/Safari), unless you have the user interact with an element, by setting up a onClick handler on the video or using a button.



<video id="vid" autoplay="true">
        <source src="big_buck_bunny.mp4"></source>
<button onclick="fullScreen()">Toggle Full Screen</button> <script> function fullScreen(){ var video = document.getElementsByTagName('video')[0]; video.webkitEnterFullScreen(); } </script>