Contact emails [email protected], [email protected]
Explainer https://github.com/w3c/mediasession/issues/274 Specification https://w3c.github.io/mediasession/#dom-mediasessionaction-previousslide https://w3c.github.io/mediasession/#dom-mediasessionaction-nextslide API spec Yes Summary Adds "previousslide" and "nextslide" actions to the existing Media Session API. Blink component Blink>Media>Session Motivation This will enable developers of video conferencing websites to handle these actions from browser UI. For example, if the user puts their slides presentation into a picture-in-picture window, the browser could display buttons for navigating through slides. When the user clicks those, the website handles them through the Media Session API. TAG review This small addition to the Media Session API doesn’t seem to qualify for a TAG review. Note that one for video conferencing actions was approved previously at https://github.com/w3ctag/design-reviews/issues/608 TAG review status N/A Debuggability No DevTools changes are required, treated like any other attribute/enum. 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. Signals from other implementations (Gecko, WebKit): Gecko: Positive ( https://github.com/w3c/mediasession/pull/284#pullrequestreview-1106405304) WebKit: Positive ( https://github.com/w3c/mediasession/pull/284#issuecomment-1217526791) Web / Framework developers: Positive - The existence of the popular (100K+ users) Remote for Slides extension ( https://chrome.google.com/webstore/detail/remote-for-slides/pojijacppbhikhkmegdoechbfiiibppi) proves that there is strong user demand for a (remote) slide control feature, up to the point that they would install an extension just for that. Ergonomics: N/A Activation: Web developers will be able to simply set/unset a media session action handler for “Previous Slide” and “Next Slide” to control the visibility of the button in the Picture-in-Picture window. When the action name is not supported, it raises a TypeError which can be caught to detect feature support. Is this feature fully tested by web-platform-tests? https://wpt.fyi/results/mediasession/setactionhandler.html Tracking bug https://crbug.com/1363548 Estimated milestones DevTrial on desktop 110 DevTrial on Android 110 Link to entry on the Chrome Platform Status https://chromestatus.com/feature/5090980649238528 -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPpwU5%2Bn-3MqwWueapG7K_3GoRSCJ4L1dRq6zmj%3DW2cQ2XT%2BYA%40mail.gmail.com.
