lovely-player
v1.0.2
Published
a base flv video play,could auto switch mp4 and flv,fixed flv.js some bug
Downloads
7
Readme
base-flv-video
a base flv video play,could auto switch mp4 and flv,fixed flv.js some bug
Build Setup
# install dependencies
npm install lovely-player
// import lovelyPlayer from 'lovely-player'
Vue.use(lovelyPlayer)
使用方法以及暴露事件
<lovely-Player :video-url="url" @currentMediaInfo="currentMediaInfo" @flvEnded="flvEnded" @isplay="isplay" @mime="mime" @source="source" @playbackRate="playbackRate"></lovely-Player>
data(){
return{
url: [
{
url:
"http://store.91yunshi.com/storage/videoAuth/gaugua/41175fe7fdc74354a8d99a3f7aa1457d.mp4?videoType=flv&_t=1592535251776",
leavel: "高清"
},]
}
}