Liking cljdoc? Tell your friends :D

dk.simongray.play-nice.schema

The shapes of the library's maps as Malli schemas, written as plain data so that the library doesn't depend on Malli. With Malli in your app:

(require '[malli.core :as m])

(m/validate schema/media-state (media/state audio))
;; => true

The maps are open, as Malli's are by default, so a key that a browser adds passes.

The shapes of the library's maps as Malli schemas, written as plain data
so that the library doesn't depend on Malli. With Malli in your app:

    (require '[malli.core :as m])

    (m/validate schema/media-state (media/state audio))
    ;; => true

The maps are open, as Malli's are by default, so a key that a browser
adds passes.
raw docstring

action-detailsclj/s

The details that a handler of the Media Session gets.

The details that a handler of the Media Session gets.
raw docstring

caption-styleclj/s

A style of captions, as captions/css takes it.

A style of captions, as captions/css takes it.
raw docstring

fullscreen-stateclj/s

The state that fullscreen/state gives and fullscreen/watch! passes on.

The state that fullscreen/state gives and fullscreen/watch! passes on.
raw docstring

imageclj/s

An image of the Media Session's metadata, a MediaImage.

An image of the Media Session's metadata, a MediaImage.
raw docstring

intervalclj/s

The interval of a media fragment, as fragment/time gives it.

The interval of a media fragment, as fragment/time gives it.
raw docstring

media-effectclj/s

An effect that media/apply! applies.

An effect that media/apply! applies.
raw docstring

media-errorclj/s

The error of a media element, as media/error gives it.

The error of a media element, as media/error gives it.
raw docstring

media-stateclj/s

The state of a media element, as media/state gives it and media/watch! passes on.

The state of a media element, as media/state gives it and media/watch!
passes on.
raw docstring

metadataclj/s

The metadata that session/metadata! shows, a MediaMetadataInit.

The metadata that session/metadata! shows, a MediaMetadataInit.
raw docstring

picture-in-picture-stateclj/s

The state that picture-in-picture/watch! passes on.

The state that picture-in-picture/watch! passes on.
raw docstring

play-answerclj/s

What the promise of media/play! resolves to.

What the promise of media/play! resolves to.
raw docstring

position-stateclj/s

The position state that session/position! shows.

The position state that session/position! shows.
raw docstring

rangesclj/s

Time ranges, as from media/ranges: pairs of a start and an end in seconds.

Time ranges, as from media/ranges: pairs of a start and an end in
seconds.
raw docstring

remote-playback-stateclj/s

The state that remote-playback/watch! passes on.

The state that remote-playback/watch! passes on.
raw docstring

sourceclj/s

The map that media/source! loads.

The map that media/source! loads.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close