Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

WesCole

macrumors 6502a
Original poster
Jul 1, 2010
756
14
Texas
I am having an issue displaying a video using the <video> tag in IE9...it works on EVERYTHING else like Safari, Firefox, iOS, etc...it is encoded in H.264, too.

Edit: I get the black box with a red X when trying to view my video in IE9.
Also, here is the link to my web site I am using to test my code...http://pages.suddenlink.net/wescole/

Here is my code snippet that I used for showing the video:

PHP:
<div class="video-player" align="center">

<video width="480" height="360" controls="controls" preload="auto">
<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 help.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.