Skip to main content

Installation

Usage

The component maps over content from the surrounding PlayerProvider. It renders a button per item and marks the active one (contentIndex) with a now-playing icon. Pressing an item emits a PressedPlaylistItem event (built with newEvent) carrying its index.
The event is emitted rather than setting player.contentIndex directly. This lets the player handle ads and outros correctly when switching tracks.

Reference