@dioramajs/media/video-hover
Exports of @dioramajs/media/video-hover.
import { default, sources } from '@dioramajs/media/video-hover'Functions
sources | `<source>` elements for URLs separated by spaces or commas, typed by their extensions. |
Constants
default | A thumbnail plays a short muted video while the pointer rests on it or its link has keyboard focus, crossfading from the image and back. The video loads only then. With `scrub` the pointer's x picks the moment instead of playing. At rest the image is the DOM and nothing is drawn. |