We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ideas:
Read more:
Will not be compatible with IE, Safari and exotic browsers.
Proof of concept code
if ('mediaSession' in navigator) { navigator.mediaSession.metadata = new MediaMetadata({ title: "TITLE", artist: "ARTIST", album: "ALBUM", artwork: [{ sizes: "320x180",// <- MUST BE EXACTLY! src: "https://i.ytimg.com/vi/yAruCvT7P7Y/hqdefault.jpg?sqp=-oaymwEZCNACELwBSFXyq4qpAwsIARUAAIhCGAFwAQ==&rs=AOn4CLAfHWw5BHrQugGsdPYy4eIXcqMTnQ", type: "" }] }); navigator.mediaSession.setActionHandler('play', function () { }); navigator.mediaSession.setActionHandler('pause', function () { }); navigator.mediaSession.setActionHandler('seekbackward', function () { }); navigator.mediaSession.setActionHandler('seekforward', function () { }); navigator.mediaSession.setActionHandler('previoustrack', function () { }); navigator.mediaSession.setActionHandler('nexttrack', function () { }); }```
The text was updated successfully, but these errors were encountered:
This will be included in the next release
Sorry, something went wrong.
Implemented in v2020.10.642
No branches or pull requests
Ideas:
Read more:
Will not be compatible with IE, Safari and exotic browsers.
Proof of concept code
The text was updated successfully, but these errors were encountered: