mediaelement.js不会在IE8中播放视频 [英] video is not playing in IE8 by mediaelement.js
问题描述
我无法使用mediaelementjs在IE8中播放视频。
I am not able to play video in IE8 by using mediaelementjs.
我正在使用HTML5视频标签,我希望视频能够在IE8及以下浏览器中播放。
I am using HTML5 video tag and I want the video to be played in IE8 and below browsers.
我知道IE8不支持HTML5视频标签。因此我正在实施mediaelement.js
,以便在IE8中播放视频。
I know that IE8 doesn't support HTML5 video tag.Hence I am implementing mediaelement.js to make the video play in IE8.
有谁能告诉我如何使用mediaelement.js(HTML5视频标签)在IE8中制作视频?
Can anyone tell me how to make the video play in IE8 using mediaelement.js(HTML5 video tag)?
推荐答案
我也有这个问题。这个位置没有做Trick的拳头。
我更改了相应的Javascript
I also had this Issue. The position didnt do the Trick fist. I changed the according Javascript
$('audio,video').mediaelementplayer({
success: function(player, node) {
$('#' + node.id + '-mode').html('mode: ' + player.pluginType);
}
});
到
jQuery('audio,video').mediaelementplayer({
success: function(player, node) {
$('#' + node.id + '-mode').html('mode: ' + player.pluginType);
}
});
然后改变position:static;
,它的工作原理
Then change position: static; and it works
这篇关于mediaelement.js不会在IE8中播放视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!