default const
A soft glow around a video or image in the colours of its frame, like YouTube's ambient mode.
import { default } from '@dioramajs/media/ambient'Colours are read on the CPU from a tiny copy of the frame, at most fps times a second while the video plays, and flow into each other. A video without a frame lights in its poster's colours, or not at all. As a shadow the light falls below the box instead, like a drop shadow in the picture's colours. The element itself stays DOM.
const default: Effect<Params>Defined in packages/media/src/ambient.ts.