UNPKG

dm-unimmersive

Version:
21 lines (20 loc) 549 B
import { Player } from "../../types"; import { PlayerAction } from '../actions'; export default function player(state: Player, action: PlayerAction): { show_controlbar: { top: boolean | "any"; bottom: boolean; } | { bottom: boolean | "any"; top: boolean; }; paused: boolean; loading_progress: import("../../types").PlayerProgress[]; volume?: number; disabled_buttons: { next_btn: boolean; } | { prev_btn: boolean; }; fullscreen: boolean; };