Hey all,
This is my code:
<div class="video-fallback">
<video width="590" height="340" autobuffer controls >
<source src="./videos/what_is_an_asd.mp4" type="video/mp4" />
<source src="./videos/webm/what_is_an_asd.webm" type="video/webm" />
<source src="./videos/ogg/what_is_an_asd.ogg" type="video/ogg" />
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" type="application/x-shockwave-flash" width="590" height="340" data="./videos/swf/what_is_an_asd.SWF" >
<param name="movie" value="./videos/swf/what_is_an_asd.SWF" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="000000" />
</object>
</video>
</div>
Fairly basic. Whenever I try to play the first video of my website, divx webplayer just says "This video contains an unsupported video format". If I navigate away from this page and come back to it, it's fine, it works perfectly. It's just the first time I load up a page with video on it. The only way around this is to use a webm file in place of mp4 but the client wants mp4.
Any one care to enlighten me as to why the mp4 doesn't work?
Loading the page in firebug the console says "Specified "type" attribute of "video/mp4" is not supported. Load of media resource ./videos/what_is_an_asd.mp4 failed" But as you can see it is specified.
Any help would be much appreciated
Cheers,
Moe
Mp4 won't play on my website. Format not supported
-
- Posts: 1
- Joined: February 17th, 2013, 8:09 pm
- jscher2000
- Posts: 11742
- Joined: December 19th, 2004, 12:26 am
- Location: Silicon Valley, CA USA
- Contact:
Re: Mp4 won't play on my website. Format not supported
How does DivX come into play??
What I would expect to happen is that Firefox would natively play the WebM media. https://developer.mozilla.org/en-US/doc ... ia_formats
What I would expect to happen is that Firefox would natively play the WebM media. https://developer.mozilla.org/en-US/doc ... ia_formats