搜尋 Mozilla 技術支援網站

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

了解更多

embed

  • 4 回覆
  • 3 有這個問題
  • 1 次檢視
  • 最近回覆由 philipp

more options

embed tag to play audio on a website I built worked fine in FF 20.0. I installed FF 24.0 tonight and now the audio won't play. It plays in Chrome 29.0 and IE 9/10 no problem. What happened to FF? Gotta have the audio load and play on it's own!

Scorpious64

embed tag to play audio on a website I built worked fine in FF 20.0. I installed FF 24.0 tonight and now the audio won't play. It plays in Chrome 29.0 and IE 9/10 no problem. What happened to FF? Gotta have the audio load and play on it's own! Scorpious64

被選擇的解決方法

I appreciate the quick response. However, I think I have it solved.

From what I found online, it seems that Mozilla removed support for the embed tag in version 22 (which I skipped over going from 20 to 24). They want you to use the "object" tag.

I'm been messing around with 3 different ways to embed audio into a webpage when the page loads. I got it working IE9, FF20, and Chrome 28. But in another computer I have set-up in the same room, I tested it in IE9, FF24, and Chrome 29. It only worked in IE9. Very disappointing.

However, I just went and installed different code and it is working in all the versions mentioned above. I've been up all night and it's 5:15AM where I'm at so I need to go to bed.

If you're interested in the code and how I got it work in ALL the browsers, just let me know and I'll give you the code and tell you where it's located on the pages and what's in the JavaScript file too.

Thanks! Scorpious64

從原來的回覆中察看解決方案 👍 0

所有回覆 (4)

more options

hello, can you provide a link to a site where the issue can be observed?

more options

選擇的解決方法

I appreciate the quick response. However, I think I have it solved.

From what I found online, it seems that Mozilla removed support for the embed tag in version 22 (which I skipped over going from 20 to 24). They want you to use the "object" tag.

I'm been messing around with 3 different ways to embed audio into a webpage when the page loads. I got it working IE9, FF20, and Chrome 28. But in another computer I have set-up in the same room, I tested it in IE9, FF24, and Chrome 29. It only worked in IE9. Very disappointing.

However, I just went and installed different code and it is working in all the versions mentioned above. I've been up all night and it's 5:15AM where I'm at so I need to go to bed.

If you're interested in the code and how I got it work in ALL the browsers, just let me know and I'll give you the code and tell you where it's located on the pages and what's in the JavaScript file too.

Thanks! Scorpious64

more options

Just got the audio clips to play on page loading AND on mouse overs too in all the browser versions mentioned above.

more options

ok, thanks for reporting back & for sharing what was at the root of the issue! now get some well-deserved sleep ;-)

由 philipp 於 修改