howler.js icon indicating copy to clipboard operation
howler.js copied to clipboard

Feature: music metadata

Open eliavco opened this issue 5 years ago • 2 comments

Some websites like Youtube and Youtube music, provide metadata when playing audio, including an icon, title, subtitle, and actions like skipping the song (example attached) image This exists on all platforms, Android, iOS, Windows, Mac, etc... Using Howler.js there's currently (to the best of my knowledge) not a way to customize this mini player and music is simply played with the browser's default icon and the page's title. I would love to see a way to customize this when initializing the song.

eliavco avatar Sep 21 '20 10:09 eliavco

https://developer.mozilla.org/en-US/docs/Web/API/Media_Session_API We just need to call this function after the audio is first played using the data the user puts in on initialization.

eliavco avatar Sep 21 '20 10:09 eliavco

+1

aleksandrgordienko avatar Aug 06 '23 18:08 aleksandrgordienko