audiojs
audiojs copied to clipboard
Autoplay plays a given mp3 file twice simultaneously, one can't be stopped
If the parameter "autoplay" is present, the track will be played twice over itself.
Thus clicking pause will correctly pause 1 of the tracks, the 2nd remains un-pausable, resulting in an unpleasant dissonance if resumed.
Happens in Firefox.
Same for me.
Same here, any known workaround?
Well, ich used the html audio tag instead: http://www.w3schools.com/tags/tag_audio.asp
If you don't add autoplay to the HTML but add it in the audio.js file (it's in the settings part) and change it to true, the audio will autoplay fine.
I seem to only get this when playing from an iframe.
I was having this problem in the latest version of Firefox (31). It sounds like the audio file is played 3 or 4 times, and only 1 of them is controlled. I changed the settings line as mentioned by joshkrz, but I also had to change this line: if(b.getAttribute("autoplay")!=null) to say: if(b.getAttribute("autoplay")!="y")
("y" is a value that it will never be, so it will always autoplay.)
I had the same issue with firefox I Took out the attributes autoplay and autoload and created the instance with the options autoplay:true and autoload:"auto" Ex.: audiojs.events.ready(function() { audiojs.createAll({ autoplay:true, autoload:"none" }); }); ...tags....