+ 13
Audio & Video with javascript
How can I play or pause a video or audio by javascript ? I have use... var audio=new Audio('aidio.mp3'); audio.play(); But it doesn't work. So please help me...!
6 Réponses
+ 8
I just notice that for <audio> player element, about another question, which I guess is based on same that <video>...
Don't forgot also than readable media types can be differents regarding each browsers ;) ( that's why is provided <source> element )
+ 12
Seems the 'play()' method is not working in sololearn app code playground... Try in web site ^^
+ 9
Thanks for the information
0
no
0
it work