Search:
Type: Posts; User: kyupo
Search:
Search took 0.01 seconds.
-
haha sorry, last reply to my own thread.
Safari does not handle OGG files ... what a headache.
-
I figured out the issue, mozilla can only handle OGG and WAV files for the time being.
-
<a class='play' href='#'>Play</a>
the href is included in my scripts but I forgot to add it when typing it out
-
var audioElement = document.createElement("audio");
audioElement.setAttribute("src", "media/sounds/song.mp3");
audioElement.load()
$(".play").click(function() {
audioElement.play();
}
});
...
|
|