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.The details that a handler of the Media Session gets.
The details that a handler of the Media Session gets.
A style of captions, as captions/css takes it.
A style of captions, as captions/css takes it.
The state that fullscreen/state gives and fullscreen/watch! passes on.
The state that fullscreen/state gives and fullscreen/watch! passes on.
An image of the Media Session's metadata, a MediaImage.
An image of the Media Session's metadata, a MediaImage.
The interval of a media fragment, as fragment/time gives it.
The interval of a media fragment, as fragment/time gives it.
An effect that media/apply! applies.
An effect that media/apply! applies.
The error of a media element, as media/error gives it.
The error of a media element, as media/error gives it.
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.
The metadata that session/metadata! shows, a MediaMetadataInit.
The metadata that session/metadata! shows, a MediaMetadataInit.
The state that picture-in-picture/watch! passes on.
The state that picture-in-picture/watch! passes on.
What the promise of media/play! resolves to.
What the promise of media/play! resolves to.
The position state that session/position! shows.
The position state that session/position! shows.
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.
The state that remote-playback/watch! passes on.
The state that remote-playback/watch! passes on.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |