首页 > 技术文章 > vue 项目中引用视频video
yuanyuanya 2020-03-12 10:00 原文
1、安装npm install video.js
2、引入在main.js中,
3、使用:
在src中引入视频地址即可,poster设置封面图片,默认为黑色。