findPlayer function
The player: `for`, else the first audio or video of the closest container that holds one.
import { findPlayer } from '@dioramajs/audio/beat'function findPlayer(element: Element, selector: string): HTMLMediaElementParameters
| Name | Type | Description |
|---|---|---|
element | Element | |
selector | string |
Defined in packages/audio/src/beat.ts.