spectatr-player-sdk
Version:
A custom video player built with Stencil with Shaka Player integration
7 lines (6 loc) • 473 B
TypeScript
export declare function formatTime(seconds: number): string;
export declare function formatTimeLive(currentTime: number, duration: number): string;
export declare function getSliderBackground(currentTime: number, duration: number): string;
export declare function getVolumeSliderBackground(isMuted: boolean, volume: number): string;
export declare function resetControlsTimeout(component: any): void;
export declare function formatLocalTime(utcTimeString: string): string;