Welcome to WebmasterWorld Guest from 23.20.6.20

Forum Moderators: open

Message Too Old, No Replies

m4v ogv file won't work on IE7?

m4v ogv problems

     
7:23 pm on Jan 25, 2011 (gmt 0)

New User

5+ Year Member

joined:Jan 16, 2011
posts:5
votes: 0


Hi,
i'm using Jplayer which is a Jquery audio/video player to embed files on pages.
I'm uploading video files .m4v and .ogv cos' seems that Jplayer supports only that kind of files (correct me if i'm wrong).

FF, Opera and Chrome work fine with ogv files, Safari needs m4v to play video, but what about IE7? Does it work with .mp4 only or..?

How can i get this player working on IE7 if the player don't support
mp4 and IE/ dont support m4v? I'm bit confused, if somebody can gimme a help i'll be very glad!

Bye
4:09 am on Jan 26, 2011 (gmt 0)

Administrator from JP 

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Oct 12, 2000
posts:14658
votes: 66


Could you do browser sniffing for the problematic versions and then serve them a different type of file?
10:42 am on Jan 26, 2011 (gmt 0)

New User

5+ Year Member

joined:Jan 16, 2011
posts:5
votes: 0


Hi, yes, look at the js file: Here i'm showing also mp4 eventhough they
seems not to be supported by the player( i wonder why..)

$(document).ready(function(){
$("#jquery_jplayer_1").jPlayer({
ready: function () {
$(this).jPlayer("setMedia", {

mp4: "video/bike.mp4",
m4v: "video/bike.m4v",
ogv: "video/bike.ogv",
poster: "img/bike.png"
});
},
swfPath: "/js",
supplied: "mp4, m4v, ogv",
solution: "html, flash"
});
});

Thanks!