# @dioramajs/media/ambient

Exports of @dioramajs/media/ambient.

## Functions and values

- [default](/docs/api/media-ambient/default.md): A soft glow around a video or image in the colours of its frame, like YouTube's ambient mode. 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.
