Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/71.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
Jquery 为什么这个特定的youtube URL可以';不能嵌入?_Jquery_Html_Youtube_Embed - Fatal编程技术网

Jquery 为什么这个特定的youtube URL可以';不能嵌入?

Jquery 为什么这个特定的youtube URL可以';不能嵌入?,jquery,html,youtube,embed,Jquery,Html,Youtube,Embed,我正试图将此集成到我的网站,但它不起作用 这个怎么了 <iframe width="560" height="315" src="https://www.youtube.com/embed/oHg5SJYRHA0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> iframe或视频没有问题,我检查了它是否正常工作,请显示控制台日志以澄清您的问题 <!DOCTYP

我正试图将此集成到我的网站,但它不起作用

这个怎么了

<iframe width="560" height="315" src="https://www.youtube.com/embed/oHg5SJYRHA0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

iframe或视频没有问题,我检查了它是否正常工作,请显示控制台日志以澄清您的问题

<!DOCTYPE html>
<html>
<head>
    <title>Video test</title>
</head>
<body>
<iframe width="560" height="315" src="https://www.youtube.com/embed/oHg5SJYRHA0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
</body>
</html>

视频测试

控制台中是否有任何错误?