5.0.0 • Published 4 years ago

video-clip-ljs v5.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

目录解构

├── README.md ├── examples //例子 ├── images.d.ts ├── package.json ├── dist 打包后代码 │   ├── index.scss │   └── index.js
├── scr // 根目录 │   ├── index.scss │   └── index.js
│   └── yarn.lock

参数

1.url //视频地址 2.isClip //是否按剪辑的播放 true/false 3.fragmentArr // 剪辑参数{id:"",start:"",end:"",color:""} 4.coverVal //片头片尾参数{header:{imgUrl:"",fragTime:""},footer:{imgUrl:"",fragTime:""}}

使用

import VideoPlayer from "video-clip" import "video-clip/dist/main.css"