HTML5 Audio
HTML5 Audio
Out of context: Reply #5
- Started
- Last post
- 7 Responses
- acescence0
well first of all you'll find that all of this stuff is buggy as fuck, since the spec is not nailed down yet. anyway, I would just use the Audio api...
var myAudio = new Audio("file.mp3");
myAudio.currentTime = 0;
myAudio.play();