Jump to content

HTML5 audio


LLLLLLL

Recommended Posts

I've created an HTML5 audio player. Very basic (which is what I want)... it's a single play button that changes to a "pause" button once you've started playing, done through JavaScript. What I want to happen is that when the audio file reaches the end, the "play" button displays again.

 

Is there some event that fires when the audio is complete? I've been to all the related forums and can't find any information. This stuff is not well documented yet.

 

Or if you have a better solution altogether, I'm up for that as well.

Link to comment
https://forums.phpfreaks.com/topic/226899-html5-audio/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.