为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Why doesn't FireFox display my YouTube videos?

  • 1 个回答
  • 1 人有此问题
  • 6 次查看
  • 最后回复者为 TyDraniu

more options

In the past, my website, thelakewaytutor.com , would display a You Tube video that I made. Now, FireFox will not display the video.

Chrome will display the video.

What type of update did I install that now prevents FireFox from displaying my video?

The support team can go to my website, look at the source code and see what the error is.

In the past, my website, thelakewaytutor.com , would display a You Tube video that I made. Now, FireFox will not display the video. Chrome will display the video. What type of update did I install that now prevents FireFox from displaying my video? The support team can go to my website, look at the source code and see what the error is.

被采纳的解决方案

I can see the video, however it's old, outdated code of embedding it with flash.

Instead

<object width="425" height="349">
<param name="movie"  value="http://www.youtube.com/v/9jhOkRgApO0?version=2&hl=en_US&rel=0"></param>
<param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/9jhOkRgApO0?version=2&hl=en_US&rel=0" type="application/x-shockwave-flash" width="425" height="349" allowscriptaccess="always" allowfullscreen="true"></embed>
</object>

you should use:

<iframe width="425" height="349" src="https://www.youtube.com/embed/9jhOkRgApO0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
定位到答案原位置 👍 0

所有回复 (1)

more options

选择的解决方案

I can see the video, however it's old, outdated code of embedding it with flash.

Instead

<object width="425" height="349">
<param name="movie"  value="http://www.youtube.com/v/9jhOkRgApO0?version=2&hl=en_US&rel=0"></param>
<param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/9jhOkRgApO0?version=2&hl=en_US&rel=0" type="application/x-shockwave-flash" width="425" height="349" allowscriptaccess="always" allowfullscreen="true"></embed>
</object>

you should use:

<iframe width="425" height="349" src="https://www.youtube.com/embed/9jhOkRgApO0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>