@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.
22 lines (21 loc) • 614 B
TypeScript
import React from "react";
import "./time-line.css";
export interface TimeCode {
fromMs: number;
description: string;
}
export interface TimeLineProps {
max: number;
currentTime: number;
bufferTime?: number;
offset?: number;
timeCodes?: TimeCode[];
hideThumbTooltip?: boolean;
limitTimeTooltipBySides?: boolean;
secondsPrefix?: string;
minutesPrefix?: string;
onChange: (time: number, offsetTime: number) => void;
getPreviewScreenUrl?: (hoverTimeValue: number) => string;
trackColor?: string;
}
export declare const VideoSeekSlider: React.FC<TimeLineProps>;