[webkit-help] mobile safari and mobile chrome: how to respond to html5 audio next and previous controls?
simon.fraser at apple.com
Thu Mar 31 10:25:13 PDT 2011
On Mar 30, 2011, at 6:03 PM, AJ ONeal wrote:
> Both on Android 2.3+ and iOS 4.2+ the HTML5 <audio> tag generates an interface withplay/pause, next, and previous buttons.
> How do I hook into those controls? It doesn't appear to be one of the HTML5 Media Events according to W3Schools or the HTML5 Spec
These Next/Previous buttons are not part of the standard HTML5 media player controls.
On iOS at least, they are simply there because the same controls are used for audio playback in web pages as other audio playback on the device. For web pages, they just go to the start and end for the track. You can't modify this behavior from JS.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-help