Chromeless YouTube Video Player and Internet Explorer
Chromeless YouTube Video Player and Internet Explorer
这种无Chrome YouTube视频播放器和自定义控件的实现不适用于Internet Explorer 11。
我得到无限的错误,例如:
"脚本87:参数无效。万维网嵌入式播放器.js (541,78)
有什么想法可以解决这个问题吗?谢谢
行: 541
Ii.prototype.sendMessage=function(a){this.source&&(a.id=this.sourceId,a=M(a),this.source.postMessage(a,this.origin))};function Ji(){}
视频播放器.js iframe 创建
var player;
function onYouTubePlayerAPIReady() {
ytplayer = new YT.Player('player', {
videoId: 'uu9J0c97fB0',
width: '640',
height: '390',
playerVars: {
autoplay: 1,
showinfo: 0,
fs: 0
},
events: {
'onReady': onPlayerReady,
'onStateChange': onPlayerStateChange
}
});
}
网页: https://github.com/brianyang/YouTube-Video-Player
解决方案不会直接从PC上的文件系统运行视频演示.html而是在本地Web服务器中运行它。这仅在 Internet Explorer 上用于安全。如果您运行 http://localhost/video-demo.html 它可以工作。
相关文章:
- 视频HTML没有'无法在Internet Explorer 11上工作
- Internet Explorer缺少占位符支持,特别是密码字段
- Internet Explorer中的文本换行错误
- 为什么我在Internet Explorer上看不到html元素
- internet explorer 8兼容模式下的Youtube api错误
- 当浏览器控制台未打开时,为什么要求会导致Internet Explorer 9超时
- Internet Explorer 8. Events
- jQuery表单验证适用于Mozilla和Internet Explorer,但不适用于Chrome或Safari
- element.dataset in Internet Explorer
- Facebook FB.init”;访问被拒绝”;在Internet Explorer 11中
- JavaScript不适用于internet explorer和Firefox,但适用于谷歌
- 在Internet Explorer中,向所选内容添加选项不起作用
- 在Internet Explorer中从二进制文件打开PDF
- elementproblem internet explorer
- 我可以使用哪些方法在Internet Explorer中禁用Alt+*X*
- 如何在Internet Explorer中使用javascript设置cookie
- 只有当alert()在带有AJAX的internet explorer中使用时,Javascript才会更新UI
- sharepoint站点的internet explorer中出现Javascript错误
- Internet Explorer重新加载IFrame
- 如何在不使用Internet Explorer的情况下从未挂起的HTML文件执行程序