搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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>