I have this code:
var vid = sym.$("video_holder");
vid.html('<video id= "video1" style="position:absolute; bottom:0px; right:0px; min-width:100%; min-height:100%; width:auto; height:auto; z-index:-1000; overflow:hidden"; autoplay=autoplay" <source src= "video/wall2.mp4" type= "video/mp4"> <source src= "video/wall2.ogv" type= "video/ogg" > <source src= "video/wall2-2.webm" type= "video/webm"> " </video>');
I can see the video fullscreen in Chrome and Safari but not in Firefox.
Console says : Le « Content-Type » HTTP « video/mp4 » n'est pas géré. Le chargement de la ressource média file:///.../video/wall2.mp4 a échoué.
What I am missing?
If you have Edge Animate CC 2014, Video support is available for you in the tool. You can import the 3 video files and Animate will automatically place them in a group for you and use them in the supported browsers. You may want to try that out and see if this works.
yes but i want it to be like a background video, taking all the size of the browser window. And then I need to give it an ID so to give him some ended instructions.
It should work. I must be missing something on the way I code my htm style or suff.
I just played with the video support in Edge. It doesn't work the way I want. It needs to be in the background.