Contact emails
fbea...@chromium.org, ste...@chromium.org
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
Estimated milestones
DevTrial on desktop 110
DevTrial on Android 110
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5090980649238528
Contact emails
fbea...@chromium.org, ste...@chromium.org
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
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 blink-dev+...@chromium.org.
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.
On Wed, Nov 23, 2022 at 5:15 PM 'François Beaufort' via blink-dev <blin...@chromium.org> wrote:Contact emails
fbea...@chromium.org, ste...@chromium.org
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.
Neat! :)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)
Can you file for official positions? https://bit.ly/blink-signals
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?
----Tracking bug
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 blink-dev+...@chromium.org.
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.
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/CAL5BFfWeKA6%2BYj9j0dmLfAUJMSV23PW0ZKL7ZR%2BZGHSRrJrb%2BA%40mail.gmail.com.
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.
Nice signal!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?
Will someone be adding the two new actions to this test? You'll probably want the new ones in a separate test case.
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.
Nice signal!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?
Will someone be adding the two new actions to this test? You'll probably want the new ones in a separate test case.We'll be adding two tests indeed. See WIP Chromium CL changes at https://chromium-review.googlesource.com/c/chromium/src/+/3835037/19/third_party/blink/web_tests/external/wpt/mediasession/setactionhandler.html
LGTM1
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfWw7kg_Zmtv35Gsoug%3D6PaHAPknpA6ZtJ7ZkuYR%3Di2pnQ%40mail.gmail.com.