Liking cljdoc? Tell your friends :D

web.video.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.

[Experimental]

The metadata property of the web.video.MediaSession interface, an instance of web.video.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.video.MediaSession` interface,
an instance of `web.video.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`
sourceraw docstring

playback-statecljs

(playback-state this)

Property.

[Experimental]

The playbackState property of the web.video.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.video.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.

[Experimental]

The setActionHandler() property of the web.video.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.video.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`
sourceraw docstring

set-metadata!cljs

(set-metadata! this val)

Property.

[Experimental]

The metadata property of the web.video.MediaSession interface, an instance of web.video.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.video.MediaSession` interface,
an instance of `web.video.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`
sourceraw docstring

set-playback-state!cljs

(set-playback-state! this val)

Property.

[Experimental]

The playbackState property of the web.video.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.video.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