UNPKG

@zezosoft/react-player

Version:

A lightweight and customizable video player by Zezosoft, built for seamless streaming with advanced controls, adaptive playback, and modern UI. Perfect for web and React applications.

30 lines (29 loc) 786 B
/** * @description Converts seconds to hh:mm:ss * @param seconds * @returns */ export declare const timeFormat: (seconds: number) => string; /** * @description Converts seconds to hh:mm * @param seconds */ export declare const timeFormatForContent: (seconds: number) => string; /** * @description Converts seconds to milliseconds * @param seconds * @returns */ export declare const secondsToMilliseconds: (seconds: number) => number; /** * @description Converts milliseconds to seconds * @param milliseconds * @returns */ export declare const millisecondsToSeconds: (milliseconds: number) => number; /** * @description get extension from url * @param url * @returns string | undefined */ export declare const getExtensionFromUrl: (url: string) => string | undefined;