www.webdeveloper.com
Results 1 to 4 of 4

Thread: Can't Get Video to Work in IE9

  1. #1
    Join Date
    Mar 2012
    Posts
    2

    Can't Get Video to Work in IE9

    First off...Hello from a newbie.

    I am learning some HTML over Spring Break and I ran into an issue.

    I am trying to add a video to my web site and it works in EVERYTHING except Internet Explorer...The video is encoded in H.264 format and AAC audio.

    Here is the code snippet:

    HTML Code:
    <div class="video-player" align="center">
    
    <video width="640" height="360" controls="controls">
    <source src="videos/Goats.mp4" type="video/mp4" />
    <source src="videos/Goats.ogg" type="video/ogg" />
    Your browser does not support this video.
    </video>
    
    </div>
    Thanks for any advice.

  2. #2
    Join Date
    Jan 2004
    Location
    chertsey, a small town s.w. of london, england.
    Posts
    1,456
    Hi there WesCole,

    and a warm welcome to these forums.

    The following links show which browsers support the video element, .mp4 and .ogg files...
    1. http://caniuse.com/#search=video
    2. http://caniuse.com/#search=mp4
    3. http://caniuse.com/#search=ogg

    ...plus some other useful information.

    p.s. don't use align="center", instead use CSS methods.

    coothead
    Last edited by coothead; 03-16-2012 at 04:24 AM.

  3. #3
    Join Date
    Mar 2012
    Location
    delhi
    Posts
    2
    I have created a websites which I want to upload a video on that web page. I have problem with coding of dream weaver. would you like to tell me somethings about it.
    rafting in rishikesh

  4. #4
    Join Date
    Mar 2012
    Posts
    2
    Quote Originally Posted by coothead View Post
    Hi there WesCole,

    and a warm welcome to these forums.

    The following links show which browsers support the video element, .mp4 and .ogg files...
    1. http://caniuse.com/#search=video
    2. http://caniuse.com/#search=mp4
    3. http://caniuse.com/#search=ogg

    ...plus some other useful information.

    p.s. don't use align="center", instead use CSS methods.

    coothead
    Thanks for the links!

    It looks like my mp4 file should play in IE9 according to one of those tables...not sure why it isn't working.

    As for CSS, I am slowly learning that as well, but was just trying to get the video working on all browsers before I dive into that.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles