Welcome!

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

Prevent HTML5 video from going full-screen automatically on BlackBerry 10

by BlackBerry Development Advisor on ‎06-14-2013 02:07 PM (3,237 Views)

HTML5 Videos (created using the <video> tag), automatically go into fullscreen when playback begins. Fullscreen playback also provides controls to seek, play/pause the video. This is by design.

 

To prevent the video from going into full-screen, add webkit-playsinline to the video tag. This is especially useful if you provide custom controls for HTML5 video.

 

<video width="620" height="352" webkit-playsinline>
    <source src="./movie.mp4" type="video/mp4"/>
</video>

 

 

Contributors
Users Online
Currently online: 28 members 876 guests
Please welcome our newest community members: