| html5 video tag plays only on Chrome and Opera
|
phex

msg:4405181 | 12:58 pm on Jan 9, 2012 (gmt 0) | <video controls poster="video.jpg" width="854" height="480"> <source src="video.mp4" type="video/mp4"> <source src="video.webm" type="video/webm"> <source src="video.ogv" type="video/ogg" <object type="application/x-shockwave-flash" data="player.swf" width="854" height="504"> <param name="allowfullscreen" value="true"> <param name="allowscriptaccess" value="always"> <param name="flashvars" value="file=video.mp4"> <!--[if IE]><param name="movie" value="player.swf"><![endif]--> <img src="video.jpg" width="854" height="480" alt="Video"> <p>Your browser can’t play HTML5 video. <a href="video.webm"> Download it</a> instead.</p> </object> </video> The above video tag comes from [dev.opera.com...] On my local machine, the tag plays well on all latest browsers IE9, firefox7, opera10 chrome and I use WAMP server ver 2.1. Now after uploading them to my website, only Chrome and Opera plays the videos exept IE9 and firefox. Are there some settings that I need to change on my actual website server or what?
|
penders

msg:4422997 | 8:11 am on Feb 29, 2012 (gmt 0) | It's possible that your live web server is not sending the correct mime-types for the requested media files. (Presumably your host does allow you to serve these types of files?)
|
|
|