【发布时间】:2014-03-18 12:22:27
【问题描述】:
我已经在我的项目中实现了 jwplayer 6,但在 IE8 控制台中出现错误 SCRIPT5007:无法获取未定义或空引用的属性“cssRules” jwplayer.html5.js,第 9 行字符 34
这个问题是什么原因
这是屏幕截图和链接http://dev.www.infopave.com/Page/Index/PRESENTATIONS
点击任何视频链接并在 IE8、IE9 中查看控制台,任何帮助都将受到高度重视。
谢谢
这是我的代码
// Get Jwplayer Events and submit to google analytics add by noor03/12/2014
function LoadVideoDynamically(VideoFileName, VideoFileTitle, VideoPageURL) {
jwplayer("mediaplayer").setup({
file: VideoFileName, //exp //file: 'rtmp://s1nu7pjztotbeg.cloudfront.net/cfx/st/mp4:Help/How_To/GettingStarted_V2-Med_x264.mp4',
width: "100%",
height: "545",
autostart: true,
events: {
onComplete: function (event) {
ga('send', 'event', 'Video Completes', ''+VideoFileName+'', '' + VideoFileTitle + '');
},
onReady: function (event) {
ga('send', 'event', 'Video Plays', '' + VideoFileName + '', '' + VideoFileTitle + '');
}
}
});
function setText(id, messageText) {
document.getElementById(id).innerHTML = messageText;
}
}
【问题讨论】:
-
当我点击链接时,我看到的是 Adobe Presenter,而不是 JW Player?
-
感谢 Ethan 只是在 IE8 的情况下看到控制台中的错误
-
连在 IE8 虚拟机中播放视频都看不到,让我给你看看我的脚本
-
我正在使用 Jwplayer6 的许可版本
-
我什至在任何浏览器中都看不到播放器?