Simple implementation of the MediaSession API, enabling the use of the keyboard's media keys (play/pause, next, previous) and enriching mobile notifications. Some OSes will show track info in the notification panel as well.
While I was at it I fixed a couple of spacing issues, let me know if you'd prefer them to not be changed instead. Thanks for the excellent content in any case.
Simple implementation of the MediaSession API, enabling the use of the keyboard's media keys (play/pause, next, previous) and enriching mobile notifications. Some OSes will show track info in the notification panel as well.
Docs here and here.
While I was at it I fixed a couple of spacing issues, let me know if you'd prefer them to not be changed instead. Thanks for the excellent content in any case.