Audio Element issue with Firefox
var audioElement = document.createElement("audio");
This is code I copied from an online demo and the demo works fine in Chrome & Mozilla (oddly not Safari), but I can't seem to get mine to work in Mozilla. I have tried hard coding the audio tag into the html, works for Chrome and Safari, but no luck with Mozilla. I know the audio element is not final spec but I was hoping for some insight.
the href is included in my scripts but I forgot to add it when typing it out
<a class='play' href='#'>Play</a>
I figured out the issue, mozilla can only handle OGG and WAV files for the time being.
haha sorry, last reply to my own thread.
Safari does not handle OGG files ... what a headache.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread