Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

embed

  • 4 відповіді
  • 3 мають цю проблему
  • 16 переглядів
  • Остання відповідь від 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