Liking cljdoc? Tell your friends :D

media.MediaSession

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
raw docstring

metadatacljs

(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`
sourceraw docstring

playback-statecljs

(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`
sourceraw docstring

set-action-handlercljs

(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`
sourceraw docstring

set-metadata!cljs

(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`
sourceraw docstring

set-playback-state!cljs

(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`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close