How to create an audio player using javascript?
I have been given assignment for c开发者_如何学编程reating an audio player using js without using any plugin. I am totally blank regarding this can anyone help please. I would prefer to create in firefox...I am not allowed to use HTML5
JavaScript cannot play audio. You need HTML5 or, usually, Flash.
You will have to use HTML5 audio. Here are some links:
- http://html5doctor.com/native-audio-in-the-browser/
- http://www.position-absolute.com/articles/introduction-to-the-html5-audio-tag-javascript-manipulation/
精彩评论