搜尋 Mozilla 技術支援網站

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

了解更多

The youtube code ?rel=0 doesn't seem to work in Firefox, but it works in Safari. Is this a bug that can be fixed?

  • 1 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 FredMcD

more options

?rel=0 is the code that youtube creates to remove 'related videos' from the very end of video embeds.

The code works on Safari, but not on Firefox. Is there a fix for this bug coming?

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

The ?rel=0 code is supposed to eliminate the related videos at the end of a clip - the image below is what I don't want to see:)

?rel=0 is the code that youtube creates to remove 'related videos' from the very end of video embeds. The code works on Safari, but not on Firefox. Is there a fix for this bug coming? EXAMPLE: <iframe width="560" height="315" src="https://www.youtube.com/embed/hbJ30DwV2Cc?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> The ?rel=0 code is supposed to eliminate the related videos at the end of a clip - the image below is what I don't want to see:)

所有回覆 (1)

more options

JerryHolland said

The code works on Safari, but not on Firefox.

While all browsers share much of the same coding as far as websites are concerned, not everything works on all browsers. You may need a different code.


Note: When I tried; https://www.youtube.com/embed/hbJ30DwV2Cc?rel=0 alone, what I got was the player only.