Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Embed youtube video

  • 1 件の返信
  • 1 人がこの問題に困っています
  • 25 回表示
  • 最後の返信者: guigs

more options

Hi, I have requirement to embed youtube video on the webpage. When I embed the video with with <iframe width="420" height="315" src="http://www.youtube.com/embed/XGSy3_Czz8k"> </iframe> It works absolutely fine. But, when I try the same with <object width="420" height="315" data="http://www.youtube.com/v/XGSy3_Czz8k"></object> This does not work and it shows message as "A plugin is needed to display". How should we fix this?

Testing on Firefox 37.0.1 on windows 7.

Thanks, Amit

Hi, I have requirement to embed youtube video on the webpage. When I embed the video with with <iframe width="420" height="315" src="http://www.youtube.com/embed/XGSy3_Czz8k"> </iframe> It works absolutely fine. But, when I try the same with <object width="420" height="315" data="http://www.youtube.com/v/XGSy3_Czz8k"></object> This does not work and it shows message as "A plugin is needed to display". How should we fix this? Testing on Firefox 37.0.1 on windows 7. Thanks, Amit

すべての返信 (1)

more options

What is interesting is that in version 38 I can only get it to work when the frameboarder is specified:

<iframe width="420" height="315" src="https://www.youtube.com/embed/XGSy3_Czz8k" frameborder="0" allowfullscreen></iframe>


However in 37.0.1 I have the same results:

Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead jquery.min.js:1:0 This site makes use of a SHA-1 Certificate; it's recommended you use certificates with signature algorithms that use hash functions stronger than SHA-1.[Learn More] XGSy3_Czz8k Error: Permission denied to access property "toString"

Test Case: https://rmcguigan.makes.org/thimble/L.../test-input-youtube-embedded

I see a tech evangelism bug that mentions if they allow mixed content that they display this fine, however there is not mixed content warning, so I am wondering if its a different issue.

Then it works perfectly in w3schools. I am asking for help.


Found it, so the object embedded method was deprecated in Jan.