Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

html5 video tag plays only on Chrome and Opera

12:58 pm on Jan 9, 2012 (gmt 0)

Junior Member from ZA 

5+ Year Member

joined:Sept 19, 2008
votes: 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>

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?
8:11 am on Feb 29, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member penders is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2006
posts: 3123
votes: 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?)