w3c / mediasession

Media Session API
https://w3c.github.io/mediasession/
Other
129 stars 29 forks source link

Make "skipad" action more generic #340

Open martinthomson opened 2 months ago

martinthomson commented 2 months ago

The "skipad" action is a fairly narrow action that represents a common thing that is shown on streaming services.

It might be useful to make this more generic, so that it can be used to skip any section of the media that is marked as being skippable. That applies to ads, intro sequences, and credits and maybe more.

In reviewing the feature, the TAG noted that this has a potential relationship with the chapter metadata. If a chapter were marked as "skippable" in the metadata, then a "skip" button could be shown. Also, the metadata might be able to provide localized text for that skip button so that the button could say "skip ad" or "skip intro" or whatever, as necessary.

Implementations might recognize "skipad" as an alias for this new action, or maybe just remove that given that some implementations do not presently support "skipad".

youennf commented 1 month ago

Discussed at TPAC 2024. There was agreement to move to skip to support some other cases like chapterized video. Marking this as ready for PR.