我认为这与目标来源有关
https。我怀疑是因为您使用的是iframe网址,
http而不是
https。尝试更改要嵌入为的文件的url
https。
例如:
'//www.youtube.com/embed/' + id + '?showinfo=0&enablejsapi=1&origin=http://localhost:9000';
成为:
'https://www.youtube.com/embed/' + id + '?showinfo=0&enablejsapi=1&origin=http://localhost:9000';



