1.0.5 • Published 2 years ago
@personal-lib/video-player v1.0.5
Video-Player
视频播放器插件
effect
Install
npm i @personal-lib/video-player
import VideoPlayer from '@personal-lib/video-player'
Vue.use(VideoPlayer)
Api
<video-player :src="videoUrl" :poster="coverUrl" v-model="currentTime" :muted.sync="muted" :duration="duration"></video-player>
- videoUrl 为视频url 必传
- coverUrl 为视频海报
- currentTime 视频当前播放时间点
- muted 是否静音
- duration 视频时长 必传
Feedback
在使用中有任何问题,欢迎反馈给我
- Email: 3096015076@qq.com