@globis/player
Version:
GLOBIS React Video Player.
16 lines (15 loc) • 538 B
TypeScript
export declare const OPTIONS: {
readonly PLAYBACK_RATE: readonly [0.75, 1, 1.25, 1.5, 2];
readonly QUALITIES: readonly [720, 480, 360];
};
export declare const PLAYBACK_RATE_OPTION: {
label: string;
value: 2 | 1 | 1.25 | 1.5 | 0.75;
}[];
export declare const QUALITY_OPTION: {
label: string;
value: 720 | 480 | 360;
}[];
export declare type PLAYBACK_RATE = typeof OPTIONS.PLAYBACK_RATE[number];
export declare type QUALITIES = typeof OPTIONS.QUALITIES[number];
export declare const INITIAL_SAVED_CURRENT_TIME = 0;