
ogg video file nor webm file will load on my site. I have no problem with other browsers
I have created a test page on the back end of my web site with the following code:
< video width="228" height="556" controls autoplay loop="loop"onclick="if (navigator.userAgent.indexOf('Android') != -1)this.play();"> < source src="assets/flash/GetQuietDemo_3.m4v" type="video/mp4" /> < source src="assets/flash/GetQuietDemo_3.webm" type="video/webm" /> < source src="assets/flash/GetQuietDemo.ogv" type="video/ogg" /> < source src="assets/flash/GetQuietDemo.ogv" /> < object width="228" height="556" type="application/x-shockwave-flash" data="assets/flash/getQuietDemo_v2.swf"> < param name="movie" value="assets/flash/getQuietDemo_v2.swf" /> < param name="flashvars" value="autostart=true&controlbar=over&image=assets/images/getQuietDemo_v2.JPG&file= assets/flash/GetQuietDemo_3.m4v" /> </object> </video>
This works on Safari, Chrome, but now Firefox
I have created a test page on the back end of my web site with the following code:<br />
<br />
<pre><nowiki>< video width="228" height="556" controls autoplay loop="loop"onclick="if (navigator.userAgent.indexOf('Android') != -1)this.play();">
< source src="assets/flash/GetQuietDemo_3.m4v" type="video/mp4" />
< source src="assets/flash/GetQuietDemo_3.webm" type="video/webm" />
< source src="assets/flash/GetQuietDemo.ogv" type="video/ogg" />
< source src="assets/flash/GetQuietDemo.ogv" />
< object width="228" height="556" type="application/x-shockwave-flash" data="assets/flash/getQuietDemo_v2.swf">
< param name="movie" value="assets/flash/getQuietDemo_v2.swf" />
< param name="flashvars" value="autostart=true&controlbar=over&image=assets/images/getQuietDemo_v2.JPG&file= assets/flash/GetQuietDemo_3.m4v" />
</object>
</video>
</nowiki></pre>
This works on Safari, Chrome, but now Firefox
cor-el modificouno o
All Replies (2)
Make sure that the server sends the files with the correct MIME type.
Thank you. It turned out to be with the extension naming convention. Firefogg spits out files with the ovg extension and it did not load. When I re-converted with the extension ogg, it worked fine. You may want to explore this.
Thanks,
Michael