// @vitest-environment jsdom // // The Plex player must start playing by itself — also when React mounts it, unmounts it and mounts // it again, which StrictMode does to every component in development. // // Bug hunt 2026-09, found on localdev: the player's "still alive" flag (every play() is gated on it, // so a late one cannot start a detached