# default

const in `@dioramajs/media/ambient`

```ts
import { default } from '@dioramajs/media/ambient'
```

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.

```ts
const default: Effect<Params>
```

Defined in [packages/media/src/ambient.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/media/src/ambient.ts#L127).
