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

搜索 | 用户支持

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

详细了解

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于修改