Firefox audio issue

Discuss how to use and promote Web standards with the Mozilla Gecko engine.
Posts: 1
Joined: July 27th, 2015, 6:58 pm

Post Posted July 27th, 2015, 7:14 pm

Hello all,

I've entered this forum because I'm looking for a solution for an issue I'm having when using chorme to open a "game" i've made in PHP.

In this game basically you have to press a key as fast as you can to increase a bar of energy. Each time you press the key a short sound (less than 1 sec) plays, but if the sound hasn't finished playing, firefox won't play it again so I need to make it play even if the previous sound is still playing, in other words, I need that for each time I press a key the sound gets played independently of the other sound.

Does anyone knows how to fix this?



New Member

User avatar
Posts: 40048
Joined: October 18th, 2007, 1:45 pm
Location: Next door to the west

Post Posted July 27th, 2015, 7:23 pm

Moving to Web Dev.
Post wrangler
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."


User avatar
Posts: 10772
Joined: December 19th, 2004, 12:26 am
Location: Silicon Valley, CA USA

Post Posted July 28th, 2015, 8:41 pm

Do you have an example online showing how you play the sound? For example, send play() to an HTML5 audio element? If the element can't accept play() until it has stopped, and stopping it takes too long, you might need to use multiple audio elements and devise a way to select among them, for example, increment a counter or look at the time.

Posts: 34
Joined: June 13th, 2013, 4:27 am

Post Posted April 18th, 2016, 5:49 am


If you use a host’s file, you can temporarily disable it by renaming it Xhosts. Or, you can edit the hosts file to remove specific entries such as

WordPress Developer Miami providing best WordPress Websites for small businesses.

Return to Web Development / Standards Evangelism

Who is online

Users browsing this forum: Bing [Bot] and 2 guests