default const
A video shot on a green or blue screen, composited over the page with the screen keyed out: a "transparent" product or presenter video in every browser, from one ordinary MP4 or WebM.
import { default } from '@dioramajs/media/chroma'. Keys by the distance of each pixel's chroma over luma from the screen colour, takes the key's hue out of the edges (spill) and averages the key over a few taps (blur). With auto the key is read from the frame's top corners every frame. The <video> stays the source of truth: the site plays and pauses it; the copy draws its keyed frames while it plays and its keyed poster before it does.
const default: Effect<Params>Defined in packages/media/src/chroma.ts.