Intent to Ship: Support Video Chapter in MediaMetadata

556 views
Skip to first unread message

Jiaming Cheng

unread,
Apr 30, 2024, 4:57:59 PMApr 30
to blin...@chromium.org, Alex Newcomer, Megan Fu, Tommy Steimel, Andrew Xu

Contact emails

jiam...@google.com

Explainer

https://github.com/w3c/mediasession/pull/308

Specification

https://www.w3.org/TR/mediasession/#the-chapterinformation-interface

Summary

The corresponding implementation on the blink layer based on the w3c api change, which is to add the `ChapterInformation` attribute in the existing `MediaMetadata` See the propose: https://github.com/w3c/mediasession/issues/273



Blink component

Blink>Media>Session

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

It’s low risk as it's a small addition to an existing API that both Gecko and WebKit approve of



Gecko: No signal

WebKit: No signal

Web developers: No signals

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None



Debuggability

None



Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?

No

Is this feature fully tested by web-platform-tests?

No

Flag name on chrome://flags

MediaSessionChapterInformation

Finch feature name

None

Non-finch justification

None

Requires code in //chrome?

False

Sample links


https://googlechrome.github.io/samples/media-session/video.html

Estimated milestones

Shipping on desktop126


Anticipated spec changes

Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).

None

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/6682585059295232?gate=5003115407605760

This intent message was generated by Chrome Platform Status.

Daniel Clark

unread,
Apr 30, 2024, 6:35:45 PMApr 30
to Jiaming Cheng, blin...@chromium.org, Alex Newcomer, Megan Fu, Tommy Steimel, Andrew Xu

I was curious about WPT coverage for this and found https://wpt.fyi/results/mediasession/mediametadata.html

 

Maybe that could be updated to check for the basics of the new attribute?

 

-- Dan

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABE8buQTGirUaRRsr9ooud9S%3Dg0OquQy6rGy%2BvnrDtT7T%2BqK%2BQ%40mail.gmail.com.

Chris Harrelson

unread,
May 1, 2024, 11:57:23 AMMay 1
to Daniel Clark, Jiaming Cheng, blin...@chromium.org, Alex Newcomer, Megan Fu, Tommy Steimel, Andrew Xu
Hi, please fill out:

* A TAG review
* Requests for signals from WebKit and Gecko
* A brief explainer (link to PR is not enough - even a paragraph or two outlining the "why" for this feature with an example would be enough
* Explanation for why this feature won't be enabled on all platforms

Alex Russell

unread,
May 1, 2024, 11:57:45 AMMay 1
to blink-dev, dan...@microsoft.com, Alex Newcomer, Megan Fu, Tommy Steimel, Andrew Xu, Jiaming Cheng
Hey folks,

On reviewing this, I'm concerned that this isn't also addressing the same needs for Audio. This would have come up in a TAG review, and probably would have been fleshed out in an Explainer. Would like to see those before this progresses.

Best,

Alex

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.

Jiaming Cheng

unread,
May 3, 2024, 9:26:05 PMMay 3
to Alex Russell, blink-dev, dan...@microsoft.com, Alex Newcomer, Megan Fu, Tommy Steimel, Andrew Xu
Hi Alex, Chris and Daniel,

Thank you for your valuable feedback!

I've addressed your comments and taken the following updates:

Hey Alex, the ChapterInformation does apply to audio as well as video, since MediaSession is for both audio and video. I've updated the Chrome status to reflect this.

Additionally, I've taken the following actions:

I will keep you updated on the progress of these reviews and notify you once they are approved. Let me know if you have any questions :]

Best,
Jiaming

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.

Jiaming Cheng

unread,
May 13, 2024, 10:06:55 PMMay 13
to Alex Russell, blink-dev, dan...@microsoft.com, Alex Newcomer, Megan Fu, Tommy Steimel, Andrew Xu
Hi team,

Those reviews have been posted for 10 days, there's no opposing comments on any of them so far. Could you please take another look at this intent?

Let me know if you have any further questions or concerns.

Thanks,
Jiaming

Domenic Denicola

unread,
May 15, 2024, 1:16:28 AMMay 15
to blink-dev, Jiaming Cheng, blink-dev, dan...@microsoft.com, Alex Newcomer, Megan Fu, Tommy Steimel, Andrew Xu, Alex Russell
Hi Jiaming,

Per our process, we give the TAG and other vendors at least one month to comment on changes. (This is why it is recommended to start these reviewers earlier, before sending the Intent to Ship.) So it might be a bit more time before we can consider this feature for shipping. Of course, if you get responses and engagement before that point, we can proceed earlier.

-Domenic

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.

Jiaming Cheng

unread,
May 15, 2024, 3:14:18 PMMay 15
to Domenic Denicola, blink-dev, dan...@microsoft.com, Alex Newcomer, Megan Fu, Tommy Steimel, Andrew Xu, Alex Russell
Thanks Domenic and Mike for the reply!

I see. It looks like we have an LGTM on the Mozilla review. Could we please add some reviewers for the TAG review as well? If not, I'm happy to ping this thread again in two weeks :]

Best,
Jiaming

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.

Alex Russell

unread,
May 17, 2024, 12:53:09 PMMay 17
to blink-dev, Jiaming Cheng, blink-dev, dan...@microsoft.com, Alex Newcomer, Megan Fu, Tommy Steimel, Andrew Xu, Alex Russell, Domenic Denicola
Sorry for the slow reply here.

Glad to see this works for Audio too. This might have been a bit more obvious of there were an explainer in the usual format. I expect the TAG will ask for one of those too. Please pay particular attention to considered alternatives and example code, both for the proposed design and for discarded alternatives.


Best,

Alex

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.

Domenic Denicola

unread,
May 30, 2024, 9:28:44 PMMay 30
to blink-dev, Alex Russell, Jiaming Cheng, blink-dev, dan...@microsoft.com, Alex Newcomer, Megan Fu, Tommy Steimel, Andrew Xu, Domenic Denicola
LGTM1.

This feature and its spec fits well with the existing MediaMetadata. It has received a positive position from Mozilla. The TAG review solicited a good discussion of considered alternatives.

I agree with Alex that this would have gone better with a proper explainer, including considered alternatives and example code. But the feature is simple enough, and thankfully we got a chance to spell out the reasoning about alternatives in the TAG review, so I think we can proceed.

Jiaming Cheng

unread,
May 30, 2024, 11:50:04 PMMay 30
to Alex Russell, blink-dev, dan...@microsoft.com, Alex Newcomer, Megan Fu, Tommy Steimel, Andrew Xu, Domenic Denicola
Hi Alex,

Thanks for your feedback! 
I see there's a question under the TAG(https://github.com/w3ctag/design-reviews/issues/952) asking the alternative approaches, and I replied under it. Ptal and let me know if you have any questions :]
There's an existing explainer here: https://www.w3.org/TR/mediasession/#the-chapterinformation-interface. And the corresponding examples here: https://www.w3.org/TR/mediasession/#examples
 
Thanks,
Jiaming

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.

Jiaming Cheng

unread,
May 30, 2024, 11:52:27 PMMay 30
to Domenic Denicola, blink-dev, Alex Russell, dan...@microsoft.com, Alex Newcomer, Megan Fu, Tommy Steimel, Andrew Xu
Thanks Domenic :]

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.

Yoav Weiss (@Shopify)

unread,
May 31, 2024, 4:08:39 AMMay 31
to Jiaming Cheng, Domenic Denicola, blink-dev, Alex Russell, dan...@microsoft.com, Alex Newcomer, Megan Fu, Tommy Steimel, Andrew Xu

Mike Taylor

unread,
May 31, 2024, 9:31:22 AMMay 31
to Yoav Weiss (@Shopify), Jiaming Cheng, Domenic Denicola, blink-dev, Alex Russell, dan...@microsoft.com, Alex Newcomer, Megan Fu, Tommy Steimel, Andrew Xu

Jiaming Cheng

unread,
Jun 3, 2024, 4:56:27 PMJun 3
to Mike Taylor, Yoav Weiss (@Shopify), Domenic Denicola, blink-dev, Alex Russell, dan...@microsoft.com, Alex Newcomer, Megan Fu, Tommy Steimel, Andrew Xu
Hi Team,

Thanks all for the LGTMs! 
To clarify, how many LGTMs are typically required before we can enable this feature to stable?

Best,
Jiaming

Chris Harrelson

unread,
Jun 3, 2024, 5:00:32 PMJun 3
to Jiaming Cheng, Mike Taylor, Yoav Weiss (@Shopify), Domenic Denicola, blink-dev, Alex Russell, dan...@microsoft.com, Alex Newcomer, Megan Fu, Tommy Steimel, Andrew Xu
Hi Jiaming,

3 LGTMs are needed. So you're good to go! Happy shipping.

Jiaming Cheng

unread,
Jun 3, 2024, 5:02:45 PMJun 3
to Chris Harrelson, Mike Taylor, Yoav Weiss (@Shopify), Domenic Denicola, blink-dev, Alex Russell, dan...@microsoft.com, Alex Newcomer, Megan Fu, Tommy Steimel, Andrew Xu
Great! Thanks Chris!
Reply all
Reply to author
Forward
0 new messages