我从 YouTube 上放了片段,但我的控制台中不断出现 ERR_CONNECTION_RESET。 我不明白它有什么问题。
没有太多代码,我只是将片段放入我古老的蹩脚 joomla 2.5 网站中,如下所示:
<div id="FirstItSkillsYoutubePlayer"></div>
进而
document.getElementById('FirstItSkillsYoutubePlayer').innerHTML = '<iframe width="560" height="315" src="https://www.youtube.com/embed/CNrhX2-iZVo?controls=0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;" allowfullscreen></iframe>'