goldfire / howler.js

Javascript audio library for the modern web.
https://howlerjs.com
MIT License
24.03k stars 2.24k forks source link

Feature: music metadata #1399

Open eliavco opened 4 years ago

eliavco commented 4 years ago

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 commented 4 years ago

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.

aleksandrgordienko commented 1 year ago

+1