Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/google-sheets/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 无铬YouTube视频播放器和Internet Explorer_Javascript_Jquery_Internet Explorer_Youtube_Youtube Api - Fatal编程技术网

Javascript 无铬YouTube视频播放器和Internet Explorer

Javascript 无铬YouTube视频播放器和Internet Explorer,javascript,jquery,internet-explorer,youtube,youtube-api,Javascript,Jquery,Internet Explorer,Youtube,Youtube Api,这种无铬YouTube视频播放器和自定义控件的实现在Internet Explorer 11上不起作用 我得到了无限的错误,比如: “脚本87:参数无效。www-embed-player.js(541,78) 有办法解决这个问题吗?谢谢 电话:541 Ii.prototype.sendMessage=function(a){this.source&&(a.id=this.sourceId,a=M(a),this.source.postMessage(a,this.origin))

这种无铬YouTube视频播放器和自定义控件的实现在Internet Explorer 11上不起作用

我得到了无限的错误,比如:

“脚本87:参数无效。www-embed-player.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(){}
video-player.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
    }
  });
} 

网页:

解决方案不会直接从pc上的文件系统运行video-demo.html,而是在本地Web服务器上运行。这仅用于Internet Explorer上的安全。如果您运行它,则该解决方案不会直接从pc上的文件系统运行video-demo.html,而是在本地Web服务器上运行。此s仅在Internet Explorer上用于安全。如果运行它,则可以。

您可能应该在GitHub上与该库的创建者联系。您可能应该在GitHub上与该库的创建者联系。