This was recently added to the spec [1].
[1] https://github.com/WICG/mediasession/commit/3d0f74b2dc48f59090a6ba4b766313716453570f
fvogt |
Plasma |
This was recently added to the spec [1].
[1] https://github.com/WICG/mediasession/commit/3d0f74b2dc48f59090a6ba4b766313716453570f
Typed navigator.mediaSession.setActionHandler("stop", () => console.log("stop")); into dev console, right clicked media controller applet, clicked "Stop", had it print "stop" on dev console
Lint Skipped |
Unit Tests Skipped |