vue-dplayer-hls
vue-dplayer support hls
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For a detailed explanation on how things work, check out the guide and docs for vue-loader.
将m3u8 资源放到 static文件夹下如:
2019/10/30 15:01 656,684 file_8o8.ts 2019/10/30 15:01 658,376 file_8o9.ts 2019/10/30 14:43 423,564 h_4800.ts 2019/10/30 19:30 501 playlist_Mix_h_8o.m3u8 npm run dev 后访问地址: