Jump to content

HTML5 Audio


Recommended Posts

I am having difficulties with pages that have more than one <audio> on the iPhone/iPad when I use the default controls. I have not tested creating custom controls in-depth yet. The custom control has a "Start" button that changes to a "Pause". OK that works fine to pause the audio. But, when you go to the second audio control on the page, it will never play while the first one is paused. If you let the first one play all of the way through, the second one will play when the Play button is clicked. Is there a "Stop" function anywhere? If so, that would mean that I would need to create a custom control and I can do that but I have not found the event to be used to actually "stop" the first one from playing. Also, it might really be confusing to users to have to pause and then to know that they need to hit a stop button as well before playing the second audio. Hopefully I can use a script that will check to see if a previous audio is paused and then stop the first one or reset it and then go ahead and play the second audio. Any ideas? Thanks, Linda

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...