<!DOCTYPE html>
<html>
<body>
<video width="400" height="300" preload controls>
<source src="../../vidoes/mj.mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>
</body>
</html>
I get a black background for the video tag with a cross image on top of it.
But basically if you want to use HTML5 video you will need to encode it in several formats as the browsers all support different things, and it doesn't look set to change soon as they are scrapping about who will control the video codec of the future web.
It seems to me this is a good solution to get this working for yourself:
sly_chandan
Member
35 Points
70 Posts
IE 9 not playing Html 5 Video
Nov 22, 2012 04:16 PM|LINK
rtpHarry
All-Star
56620 Points
8958 Posts
Re: IE 9 not playing Html 5 Video
Nov 22, 2012 08:34 PM|LINK
Hi
MP4 is a container format and could have been encoded using one of several codecs.
IE9 only supports H.264 video so your video is probably not using that codec.
This thread offers a bunch more info on the subject:
But basically if you want to use HTML5 video you will need to encode it in several formats as the browsers all support different things, and it doesn't look set to change soon as they are scrapping about who will control the video codec of the future web.
It seems to me this is a good solution to get this working for yourself:
If your browser doesn't support the html5 version then it falls back to a flash player.
roopeshreddy
All-Star
20277 Points
3349 Posts
Re: IE 9 not playing Html 5 Video
Nov 23, 2012 07:58 AM|LINK
I recently blogged about HTML 5 Videos - http://roopeshreddy.wordpress.com/2012/09/19/tools-and-tips-
I also mentioned some Video converters which works fine and they are FREE.
Hope it helps u...</div> </div>
Roopesh Reddy C
Roopesh's Space
Ruchira
All-Star
44411 Points
7196 Posts
MVP
Re: IE 9 not playing Html 5 Video
Nov 24, 2012 07:16 AM|LINK
Hello,
Are you sure this path is correct and video file is available (not corrupted etc.)? Please make sure it.
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.