Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2012
    Location
    Chester, Virginia
    Posts
    13
    Thanks
    4
    Thanked 0 Times in 0 Posts

    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...

  • #2
    Regular Coder patryk's Avatar
    Join Date
    Oct 2012
    Location
    /dev/couch
    Posts
    398
    Thanks
    2
    Thanked 64 Times in 64 Posts
    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/


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •