homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Gold Sponsor 2015!
Home / Forums Index / WebmasterWorld / Web Video Creation and Optimization
Forum Library, Charter, Moderators: travelin cat

Web Video Creation and Optimization Forum

html5 video tag plays only on Chrome and Opera

5+ Year Member

Msg#: 4405179 posted 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>

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?



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

Msg#: 4405179 posted 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?)

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Web Video Creation and Optimization
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved