Skip to content

mountAudio

mountAudio(block, host): AudioHandle | null

Defined in: audio.ts:523

Mount a player for block inside host.

Destroys any existing player first — the single-player invariant. A page cycling variants would otherwise stack tracks on top of each other, and the viewer has no way to stop one they can no longer see.

AudioBlock

HTMLElement

AudioHandle | null