Extending Media Session API to expose action handlers

15 views
Skip to first unread message

Pradeep A

unread,
Jul 2, 2021, 3:15:03 PM7/2/21
to Chromium-discuss
In the Media Session API, web developers can set action handlers for player controls like "Pause", "Play", etc

I am looking for these handlers to be exposed in Media Session API so we can control using simple script in a standard way, similar to media controller API in Android.

void executeAction(key);

Is there any functionality that already exists in chromium to do this for Chrome browsers?

Thanks,
Pradeep
Reply all
Reply to author
Forward
0 new messages