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

by Retired on ‎06-14-2013 02:07 PM (5,310 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"/>