The MediaSession interface of the Media Session API allows a page to provide custom behaviors for standard media playback
The MediaSession interface of the Media Session API allows a page to provide custom behaviors for standard media playback
(metadata this)
Property.
[Experimental]
The metadata property of the web.audio.MediaSession
interface,
an instance of web.audio.MediaMetadata
which contains rich
metadata, for display in a platform UI.
var mediaMetadata = MediaSession.metadata MediaSession.metadata = mediaMetadata
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/metadata
Property. [Experimental] The metadata property of the `web.audio.MediaSession` interface, an instance of `web.audio.MediaMetadata` which contains rich metadata, for display in a platform UI. `var mediaMetadata = MediaSession.metadata MediaSession.metadata = mediaMetadata` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/metadata`
(playback-state this)
Property.
[Experimental]
The playbackState property of the web.audio.MediaSession
interface
whether the current media session is playing.
var playbackState = MediaSession.playbackState MediaSession.playbackState = playbackState
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/playbackState
Property. [Experimental] The playbackState property of the `web.audio.MediaSession` interface whether the current media session is playing. `var playbackState = MediaSession.playbackState MediaSession.playbackState = playbackState` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/playbackState`
(set-action-handler this type callback)
Method.
[Experimental]
The setActionHandler() property of the web.audio.MediaSession
sets an event handler for a media session action.
navigator.mediaSession.setActionHandler(type, callback)
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/setActionHandler
Method. [Experimental] The setActionHandler() property of the `web.audio.MediaSession` sets an event handler for a media session action. `navigator.mediaSession.setActionHandler(type, callback)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/setActionHandler`
(set-metadata! this val)
Property.
[Experimental]
The metadata property of the web.audio.MediaSession
interface,
an instance of web.audio.MediaMetadata
which contains rich
metadata, for display in a platform UI.
var mediaMetadata = MediaSession.metadata MediaSession.metadata = mediaMetadata
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/metadata
Property. [Experimental] The metadata property of the `web.audio.MediaSession` interface, an instance of `web.audio.MediaMetadata` which contains rich metadata, for display in a platform UI. `var mediaMetadata = MediaSession.metadata MediaSession.metadata = mediaMetadata` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/metadata`
(set-playback-state! this val)
Property.
[Experimental]
The playbackState property of the web.audio.MediaSession
interface
whether the current media session is playing.
var playbackState = MediaSession.playbackState MediaSession.playbackState = playbackState
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/playbackState
Property. [Experimental] The playbackState property of the `web.audio.MediaSession` interface whether the current media session is playing. `var playbackState = MediaSession.playbackState MediaSession.playbackState = playbackState` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaSession/playbackState`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close