I'm trying to play a video underneath some edge animations but mobiles make the video go fullscreen and my animations get lost.
Is there a way to make this video play without it going fullscreen?
Thanks!
Hi,
Well, just an idea; try this code:
var elem = sym.$("my_video_element")[0];
if (elem.requestFullscreen) {
elem.cancelFullscreen();
} else if (elem.mozRequestFullScreen) {
elem.mozCancelFullScreen();
} else if (elem.webkitRequestFullscreen) {
elem.webkitCancelFullscreen();
}