I use mediaelement js .. on my .htacces I have these ..
AddType video/mp4 mp4 m4v AddType audio/mp4 m4a AddType video/ogg ogv AddType audio/ogg ogg oga AddType video/webm webm
and on my index.html I have this on my <head>
<script src="/js/jquery.js"></script> <script src="/js/mediaelement-and-player.min.js"></script> <link rel="stylesheet" href="/js/mediaelementplayer.css" />
and code
<video width="600" height="450" preload="none" autoplay preload="auto" > <source type="video/mp4" src="videos/Sequence1.mp4"/> <source type="video/webm" src="videos/Sequence1.webm" /> <source type="video/ogg" src="videos/Sequence1.ogv" /> <object width="320" height="240" type="application/x-shockwave-flash" data="flashmediaelement.swf"> <param name="movie" value="flashmediaelement.swf" /> <param name="flashvars" value="controls=&file=videos/Sequence1.mp4" /> </object> </video>
unfortunately .. it does not play on the Mozilla browser .. it continues to load, but does not play .. and using ctrl + shift + k on mozilla .. I found these errors.
- [18: 47: 12.942] The specified attribute of type "video / mp4" is not supported. Loading video resources media resources / Sequence1.mp4 failed. @ http://thesuperheroblueprint.com/
Please help me .. I really need to fix this so badly. Here is the site. .
source share