Go Back   CodingForums.com > :: Client side development > Graphics and Multimedia discussions

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-19-2012, 05:27 AM   PM User | #1
desmintaylor
New Coder

 
Join Date: Aug 2012
Location: Chester, Virginia
Posts: 13
Thanks: 4
Thanked 0 Times in 0 Posts
desmintaylor is an unknown quantity at this point
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...
desmintaylor is offline   Reply With Quote
Old 10-19-2012, 03:44 PM   PM User | #2
patryk
Regular Coder

 
patryk's Avatar
 
Join Date: Oct 2012
Location: /dev/couch
Posts: 395
Thanks: 2
Thanked 64 Times in 64 Posts
patryk is on a distinguished road
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/
patryk is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:26 PM.


Advertisement
Log in to turn off these ads.