Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
December 14, 2020 03:47 pm GMT

Give Users Control: The Media Session API

Heres a scenario. You start a banging Kendrick Lamar track in one of your many open browser tabs. Youre loving it, but someone walks into your space and you need to pause it. Which tab is it? Browsers try to help with that a little bit. You can probably mute the entire system audio. But wouldnt it be nice to actually have control over the audio playback without necessarily needing to find your way back to that tab?

The Media … Read article “Give Users Control: The Media Session API”


The post Give Users Control: The Media Session API appeared first on CSS-Tricks.

You can support CSS-Tricks by being an MVP Supporter.


Original Link: https://css-tricks.com/give-users-control-the-media-session-api/

Share this article:    Share on Facebook
View Full Article

CSS Tricks

A Web Design Community curated by Chris Coyier

More About this Source Visit CSS Tricks