[webkit-help] mobile safari and mobile chrome: how to respond to html5 audio next and previous controls?

AJ ONeal coolaj86 at gmail.com
Thu Mar 31 11:18:40 PDT 2011


Hmm... is there a good place to file a bug for that?

It's very misleading for the user and the developer, but will be extremely
useful once fixed.

AJ ONeal


On Thu, Mar 31, 2011 at 11:25 AM, Simon Fraser <simon.fraser at apple.com>wrote:

> 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<http://www.w3schools.com/html5/html5_ref_eventattributes.asp> or
> the HTML5 Spec<http://dev.w3.org/html5/spec/Overview.html#documents-in-the-dom>
>
> 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.
>
> Simon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20110331/a0ea43ce/attachment.html>


More information about the webkit-help mailing list