v3: added index default tab selection setting, fixed notification pages not loading, reduced invite token length, global player state survives page reloads, many visual fixes
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 44s

This commit is contained in:
khannurien
2026-06-27 19:44:35 +00:00
parent 88f1eb3d03
commit c29f45fbc8
25 changed files with 733 additions and 278 deletions

View File

@@ -11,6 +11,12 @@ export interface PlayerContextValue {
currentTime: number;
duration: number;
// Initial seek offset for the active item (non-zero only for an item restored
// from a previous session) and whether the active MediaPlayer should autoplay.
// A restored item appears paused; a fresh play() autoplays on the user gesture.
startTime: number;
autoplay: boolean;
// Control — callable by any consumer
play(item: PlayerItem): void;
stop(): void;
@@ -32,6 +38,8 @@ export const PlayerContext = createContext<PlayerContextValue>({
playing: false,
currentTime: 0,
duration: 0,
startTime: 0,
autoplay: false,
play: () => {},
stop: () => {},
seekTo: () => {},