canvas-merge-video-in-vue
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
canvas-merge-video-in-vue 利用canvas+vue进行视频碎片合并
此pro注意点:
1.并没有考虑性能 2.只支持温柔使用 3.没有catch error状态 4.loading状态正在完善中
A Vue.js project
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
默认data对象说明
autoPlay: false, // 是否自动播放
currentEnoughToPlay: false, // 表示是否需要显示enoughToPlay状态
pauseing: true, // 暂停状态
playing: false, // 播放状态
sounds: 10, // 声音控制
mutedable: false, // 是否静音
progress: 0, // 进度条
allLength: 0, // 总长度.这个是需要后端返回的
<