@vuux/video
Version:
Vue Nuxt 视频播放器
15 lines (14 loc) • 373 B
TypeScript
import { Ref } from 'vue';
import { Props } from '../props.js';
import { State } from '../types.js';
/**
* 初始化
*
* @param videoEl video元素实例
* @param props props
* @param state 响应式数据
*/
export declare const useInit: (videoEl: Ref<HTMLVideoElement | null>, props: Props, state: State) => {
initVideo: () => void;
initHls: () => void;
};