开发者

Jplayer not working with some browsers (Probably has something to do with the swf player)

开发者 https://www.devze.com 2023-01-05 23:27 出处:网络
I have just set up Jplayer and it is working on chrome, but not on ie or firefox. I set up the demo first and it worked on all three browsers.

I have just set up Jplayer and it is working on chrome, but not on ie or firefox. I set up the demo first and it worked on all three browsers.

I suspect it has something to do with the swf player, but I have no idea what is wrong.

EDIT: Found out what was happening. In the Jplayer js, the swfpath was relative ("js/swfpath"), I changed it to absolute and it worked fine.

The strange thing is that the Net tab in开发者_StackOverflow社区 firebug told me that the swf was being correctly downloaded..


Firebug is your friend. It tells you that "UFO" is not defined on this line:

UFO.create(FO, 'slideshow');

That means you're not loading ufo.js.

0

精彩评论

暂无评论...
验证码 换一张
取 消