playable
Version:
Video player based on HTML5Video
29 lines (22 loc) • 557 B
text/typescript
import { IThemeService } from '../../core/theme';
import { ITextMap } from '../../../text-map/types';
type IPlayViewStyles = {
playControl: string;
playbackToggle: string;
icon: string;
paused: string;
hidden: string;
};
type IPlayViewCallbacks = {
onButtonClick: () => void;
};
type IPlayViewConfig = {
callbacks: IPlayViewCallbacks;
textMap: ITextMap;
theme: IThemeService;
};
interface IPlayControl {
getElement(): HTMLElement;
destroy(): void;
}
export { IPlayControl, IPlayViewStyles, IPlayViewCallbacks, IPlayViewConfig };