YouTube iframe 在 blogspot 页面和网页上显示禁止错误
YouTube iframe shows forbidden error on blogspot page and webpage
我正在尝试使用 HTML iframe 在我的网页和 Blogspot 页面上显示 YouTube 视频。
<iframe width="320" height="250" src="http://youtube.com/watch?v=Y4lqtiYLuJU"></iframe>
但它给了我以下禁止的错误:
This website does not permit its contents to be displayed in a frame, it must be opened in a new window.
将此 iframe 代码发布到我的 Blogspot 页面时,我在 Blogspot 上遇到同样的错误。
有什么办法可以解决这个问题吗?
YouTube iframe 通过 HTTPS 工作
<iframe width="320" height="250"
src="https://www.youtube.com/embed/Y4lqtiYLuJU">
</iframe>
我正在尝试使用 HTML iframe 在我的网页和 Blogspot 页面上显示 YouTube 视频。
<iframe width="320" height="250" src="http://youtube.com/watch?v=Y4lqtiYLuJU"></iframe>
但它给了我以下禁止的错误:
This website does not permit its contents to be displayed in a frame, it must be opened in a new window.
将此 iframe 代码发布到我的 Blogspot 页面时,我在 Blogspot 上遇到同样的错误。
有什么办法可以解决这个问题吗?
YouTube iframe 通过 HTTPS 工作
<iframe width="320" height="250"
src="https://www.youtube.com/embed/Y4lqtiYLuJU">
</iframe>