Re: [Events] Media playback events for play, pause, toggle, stop, next, and previous. INDIEUI-ACTION-16

On Apr 2, 2014, at 1:49 PM, Jason White <jason@jasonjgw.net> wrote:

> James Craig <jcraig@apple.com> wrote:
>> I've added media playback request events for play, pause, toggle, stop, and
>> for the ability to skip to the next or previous track boundary. These allow
>> web apps to respond to keyboard media keys, headphone remotes, etc.
> 
> Excellent. This proposal omits the ability to move to a relative or absolute
> position within a track, for example by minutes/seconds (or +- minutes/seconds
> for relative motion). The use cases should be clear enough, although media
> players tend to restrict their options to controls that skip back/forward by
> prescribed amounts, such as 10 seconds, 1 minute, 10 minutes.
> 
> This extension, however, can safely be left as an issue to be considered for
> the next version of the spec.

I don't think that's an issue. I don't know of any standard physical UI to jump media by some arbitrary amount. 

When an app has this type of functionality (like the "back 30s" button in the iOS podcasts app), it's usually just a standard UI button. In that case, the default press click action would suffice so we don't need a special event. You could make an argument for the TiVo case (jump forward 30s and jump backward 7s) but that functionality is disabled by default. Even when you enable it, it uses the previous and next boundary remote buttons. E.g ASCII follows in parens: media previous (|<<) and media next (>>|).

There is an editorial note at the end of the section that continuous events (e.g. press and hold to fast-forward or rewind) may be useful. We may be able to do that as discrete "seek forward" and "seek backward" events. 

Received on Wednesday, 2 April 2014 23:50:22 UTC