GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for MediaSession.

Developer library 6

Firefox 71 release notes for developers

so provides a way to receive notifications when the device's media controls (such as play, pause, and seek buttons) are activated by the user. To that end, the MediaSession interface is now partially implemented, with support for setting and fetching the currently-playing media's metadata and for the setActionHandler() method. To access the `MediaSession` API, use the navigator.mediaSession property. #### DOM - The

MediaSession

Media Session API The **`MediaSession`** interface of the allows a web page to provide custom behaviors for standard media playback interactions, and to report metadata that can be sent by the user agent to the device or operating system for presentation in standardized user interface elements. For example, a smartphone might have a standard panel in its lock screen that provides controls for media playback and in

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/MediaSession

MediaSession: setPositionState() method

Media Session API The **`setPositionState()`** method of the MediaSession interface is used to update the current document's media playback position and speed for presentation by user's device in any kind of interface that provides details about ongoing media. This can be particularly useful if your code implements a player for type of media not directly supported by the browser. Call this method on the `navigator`

MediaSession: setMicrophoneActive() method

Media Session API The **`setMicrophoneActive()`** method of the MediaSession interface is used to indicate to the user agent whether the user's microphone is considered to be currently muted. Call this method on the `navigator` object's mediaSession object. Note that the status of the microphone is not tracked in the MediaSession itself, but must be tracked separately. ## Syntax ```js-nolint setMicrophoneActive(

MediaSession: setScreenshareActive() method

Media Session API The **`setScreenshareActive()`** method of the MediaSession interface is used to indicate to the user agent whether the user's screenshare is considered to be active. Call this method on the `navigator` object's mediaSession object. Note that the status of the screenshare is not tracked in the MediaSession itself, but must be tracked separately. ## Syntax ```js-nolint setScreenshareActive(activ

MediaSession: setCameraActive() method

Media Session API The **`setCameraActive()`** method of the MediaSession interface is used to indicate to the user agent whether the user's camera is considered to be active. Call this method on the `navigator` object's mediaSession object. Note that the status of the camera is not tracked in the MediaSession itself, but must be tracked separately. ## Syntax ```js-nolint setCameraActive(active) ``` ### Paramete

JSON results · Services directory