background_runtime_web 0.1.1
background_runtime_web: ^0.1.1 copied to clipboard
Web implementation of the background_runtime plugin.
0.1.1 #
- Notification action stream via
navigator.mediaSession(prev/next/play/pause/stop). MediaMetadatawith album art artwork fromAudioTrack.albumArt.- Keyboard media-key fallback (
MediaTrackPrevious,MediaTrackNext,MediaPlayPause,MediaStop). - Direct anchor-element download (avoids CORS restrictions of XMLHttpRequest).
- Explicit
AudioElement.play()withDomExceptioncatch for blocked autoplay. - Tracked
_currentPlayerStatefor play/pause toggle via media keys. StreamSubscriptionmanagement for keyboard listener inshutdown().
0.1.0 #
- Initial release: Web implementation stub.