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.
The metadata property of the media.MediaSession
interface,
an instance of media.MediaMetadata
which contains rich media
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. The metadata property of the `media.MediaSession` interface, an instance of `media.MediaMetadata` which contains rich media 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.
The playbackState property of the media.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. The playbackState property of the `media.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.
The setActionHandler() property of the media.MediaSession
interface
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. The setActionHandler() property of the `media.MediaSession` interface 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.
The metadata property of the media.MediaSession
interface,
an instance of media.MediaMetadata
which contains rich media
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. The metadata property of the `media.MediaSession` interface, an instance of `media.MediaMetadata` which contains rich media 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.
The playbackState property of the media.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. The playbackState property of the `media.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