Important Notice: We're experiencing email notification issues. If you've posted a question in the community forums recently, please check your profile manually for responses while we're working to fix this.

On Monday the 3rd of March, around 5pm UTC (9am PT) users may experience a brief period of downtime while one of our underlying services is under maintenance.

ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

เรียนรู้เพิ่มเติม

why will embedded wav files not play in firefox

  • 5 การตอบกลับ
  • 0 คนมีปัญหานี้
  • 14 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย Michael Poxon

more options

Hi, I have an HTML page - currently on the desktop PC - that contains a few graphics (they relate to IPA sounds) and a bit of javascript which will make the sounds play when the user mouses-over the graphic, and stop on mouse-out. The script uses <embed> tags. I know these arent favoured but I think they should still work, as they have in the past, so the script itself is fine. But there is no sound (obviously I have checked the src is correct and made sure the speakers are on and working. They are.) W10, FF ver 128.6.0esr (64-bit)

Hi, I have an HTML page - currently on the desktop PC - that contains a few graphics (they relate to IPA sounds) and a bit of javascript which will make the sounds play when the user mouses-over the graphic, and stop on mouse-out. The script uses ''<embed>'' tags. I know these arent favoured but I think they should still work, as they have in the past, so the script itself is fine. But there is no sound (obviously I have checked the ''src'' is correct and made sure the speakers are on and working. They are.) W10, FF ver 128.6.0esr (64-bit)

วิธีแก้ปัญหาที่เลือก

In modern browsers you need to use the VIDEO or AUDIO tag to make the built-in HTML media player play sounds, you can no longer use EMBED or OBJECT tags.

อ่านคำตอบนี้ในบริบท 👍 1

การตอบกลับทั้งหมด (5)

more options

Unfortunately since this isn't a Firefox browser created issue the programmer you must debug what going on with your codes as to why they don't work. The browser updates to protect itself and if the codes don't work then the browser will not load them.

มีประโยชน์หรือไม่

more options

OK, here's the relevant coding. For the sake of space and understanding I have omitted all irrelevant content like the simple page text, opening and closing page tags, etc. The content relates to ejective consonants (don't ask!!) All the concerned files are in the same folder. ..................................................................................................

(opening tags etc)... <script> function EvalSound(soundobj) {

 var thissound=document.getElementById(soundobj);
 thissound.Play();

} function stopSound(soundobj) { var thatsound=document.getElementById(soundobj); thatsound.Stop(); } </script> </head> <body> <embed src="ejectives.wav" hidden=true autostart=false width=0 height=0 id="sound0"> ... (regular HTML text)... ... (more regular text + closing tags) If you can see a 'cant find image' icon it's because there's a line which is the coding for an image and the editor here has interpreted that as an actual link to an image! The coding for the image has the matching id (i.e.,'sound0') and the appropriate function calls. So - any suggestions as to why this doesn't work? Many thanks.

เปลี่ยนแปลงโดย starman เมื่อ

มีประโยชน์หรือไม่

more options

What is the site then so others can verify and replicate if they get the same problems?

มีประโยชน์หรือไม่

more options

วิธีแก้ปัญหาที่เลือก

In modern browsers you need to use the VIDEO or AUDIO tag to make the built-in HTML media player play sounds, you can no longer use EMBED or OBJECT tags.

มีประโยชน์หรือไม่

more options

As I said, the site is on my PC. However, thanks cor-el... I didn't know embed had been discontinued altogether, I thought it was still working. So, that answers my question, thanks.

มีประโยชน์หรือไม่

ถามคำถาม

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.