property PlayerContextValue.autoplay

Whether the current item starts on mount. A restored session appears paused, since no user gesture is behind it; a fresh play() autoplays.

Type

boolean

Usage

import { type PlayerContextValue } from "src/contexts/player/PlayerContext.ts";