export type VideoSource =
  | { kind: 'local'; file: File; objectUrl: string }
  | { kind: 'server'; videoId: string; filename: string };

export interface PlayerState {
  source: VideoSource | null;
  playing: boolean;
  currentTime: number;
  duration: number;
  fps: number;
  volume: number;
  muted: boolean;
  playbackRate: number;
  fullscreen: boolean;
  hlsReady: boolean;
}
