CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Graphics and Multimedia discussions (http://www.codingforums.com/forumdisplay.php?f=32)
-   -   Embedding Video Onto My Site. Cross Browser Issues. Please help (http://www.codingforums.com/showthread.php?t=277748)

desmintaylor 10-19-2012 05:27 AM

Embedding Video Onto My Site. Cross Browser Issues. Please help
 
I'm trying to embed a movie onto my html file on the web. So far the video plays as I want it to in the following browsers:

Chrome
Opera
Firefox

It's not playing on mobile devices yet, and of course not working on crappy Internet Explorer. Here is my video code. Please help me.

Code:

<video width="380" height="300" controls= "controls" tabindex = "0" poster="" autoplay="autoplay" border="1">
<source src="video/ghoops_showcase.ogv" type="video/ogg" />
<source src="video/ghoops_showcase.3gp" type="video/3gp" />
<!--<source src="video/ghoops_showcase.mp4" type="video/mp4" />--> *commented out the mp4 because it was crashing mozilla I think*
<source src="video/ghoops_showcase.webm" type="video/webm" />
<source src="video/ghoops_showcase.flv" type="video/flv" />
<source src="video/ghoops_showcase.swf" type="video/swf" />
</video>

Also here is the live site I'm building it for...

patryk 10-19-2012 03:44 PM

video tag is html5, so it won't work in non-html5 browsers. you'll need to have some sort of fallback for those.
some little flashplayer or something.
if you're lazy (like me), you can use jPlayer. it has fallback and all that good stuff ;)
http://www.jplayer.org/


All times are GMT +1. The time now is 03:18 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.