mirror of
https://github.com/yattee/yattee.git
synced 2026-07-19 22:02:10 +00:00
The controls overlay was gated on the player backend existing, but the backend is created only after the video details fetch completes, so the loading phase showed just the thumbnail and spinner with no controls. Drop the backend gate (MPV is the only backend type) and resolve the PiP backend dynamically in the toggle callback. Also make ended/failed states hide controls directly in shouldShowControls instead of relying on catching the state transition, and reset the manual visibility override when a new load starts so controls reappear for the next video.