jwplayer视频IE9一下浏览器播放问题
jwplayer在ie9以下的浏览器中无法播放,没有报任何错误。浏览器IE9,文档模式为IE8或者IE7时无法播放。代码如下:$(function(){jwplayer(...
jwplayer在ie9以下的浏览器中无法播放,没有报任何错误。浏览器IE9,文档模式为IE8或者IE7时无法播放。
代码如下:
$(function () {
jwplayer("mediaplayer").setup({
flashplayer: "/Scripts/JwPlayer/player.swf",
file: "@(ResourceHelper.UrlFilter(Model.VideoPath))",
autostart: "true",
bufferlength: '20',
width: $("#mediaplayer").width(),
height: $("#mediaplayer").height(),
onPlay: function () {
@* $.post('/Play/BeginPlay', 'teacherid=@(Model.Teacher_Info.UserInfoID)&classroomId=@(Model.ClassroomInfoID)&coursewareInfoName=@(coursewareName)');*@
},
onComplete: function () {
@* //! 完成事件
$.post('/Play/CompletePlay', 'teacherid=@(Model.Teacher_Info.UserInfoID)&classroomId=@(Model.ClassroomInfoID)&coursewareInfoName=@(coursewareName)');
//! 完成进度
$.post('/Play/Complete', 'classroomId=@(Model.ClassroomInfoID)&classroomPlanTaskId=@(classroomPlantask.ClassroomPlanTaskID)&studyStatus=@(StudyStatus.Finish.GetHashCode())');*@
}
});
})
哪位大神知道出了什么问题。多谢了 展开
代码如下:
$(function () {
jwplayer("mediaplayer").setup({
flashplayer: "/Scripts/JwPlayer/player.swf",
file: "@(ResourceHelper.UrlFilter(Model.VideoPath))",
autostart: "true",
bufferlength: '20',
width: $("#mediaplayer").width(),
height: $("#mediaplayer").height(),
onPlay: function () {
@* $.post('/Play/BeginPlay', 'teacherid=@(Model.Teacher_Info.UserInfoID)&classroomId=@(Model.ClassroomInfoID)&coursewareInfoName=@(coursewareName)');*@
},
onComplete: function () {
@* //! 完成事件
$.post('/Play/CompletePlay', 'teacherid=@(Model.Teacher_Info.UserInfoID)&classroomId=@(Model.ClassroomInfoID)&coursewareInfoName=@(coursewareName)');
//! 完成进度
$.post('/Play/Complete', 'classroomId=@(Model.ClassroomInfoID)&classroomPlanTaskId=@(classroomPlantask.ClassroomPlanTaskID)&studyStatus=@(StudyStatus.Finish.GetHashCode())');*@
}
});
})
哪位大神知道出了什么问题。多谢了 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询