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!

Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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