We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Iskanje po podpori

Izogibajte se prevarantski tehnični podpori. Nikoli vam ne bomo naročili, da pokličete telefonsko številko ali nam pošljete osebne podatke. Sumljivo dejavnost prijavite z gumbom »Prijavi zlorabo«.

Več o tem

embed

  • 4 odgovori
  • 3 imajo to težavo
  • 1 ogled
  • Zadnji odgovor od 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

Izbrana rešitev

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

Preberite ta odgovor v kontekstu 👍 0

Vsi odgovori (4)

more options

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

more options

Izbrana rešitev

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 ;-)

Spremenil philipp