@vuux/video
Version:
Vue Nuxt 视频播放器
35 lines (34 loc) • 817 B
TypeScript
import { Props } from '../props';
import { ButStatus, VideoStatus } from '../types';
/**
* 响应式数据
*
* @param props 视频Props类型
*/
export declare const useVideoState: (props: Props) => {
state: {
src: string;
type: string;
startTime: number;
butStatus: ButStatus;
videoStatus: VideoStatus;
mssage: string;
currentTime: string;
loaded: number;
loop: boolean;
control: boolean;
mirror: boolean;
lights: boolean;
totalTime: string;
speed: number;
_volume: number;
progress: number;
cursorTime: string;
full: boolean;
_muted: boolean;
webFull: boolean;
isPoster: boolean;
clearTime: number;
show: string;
};
};