@muum/react-video-player
v1.1.7
Published
一个基于video.js封装的支持播放m3u8格式的视频播放器(react项目中使用)
Downloads
33
Readme
@muum/react-video-player
@muum/react-video-player
是一个基于 video.js
封装的在 react
项目中使用的支持播放 m3u8
格式的视频播放器.
使用方法
安装
npm install @muum/react-video-player --save
使用
import VideoPlayer from '@muum/react-video-player'; <VideoPlayer {...{vid, url}} />
注意事项
vid
不能是纯数字