Skip to content

在 react 项目中使用的, 支持播放 m3u8 格式的视频播放器

Notifications You must be signed in to change notification settings

DrLambs/react-video-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@muum/react-video-player

@muum/react-video-player 是一个基于 video.js 封装的在 react 项目中使用的支持播放 m3u8 格式的视频播放器.

使用方法

  1. 安装

    npm install @muum/react-video-player --save
  2. 使用

    import VideoPlayer from '@muum/react-video-player';
    
    <VideoPlayer {...{vid, url}} />

注意事项

vid 不能是纯数字

About

在 react 项目中使用的, 支持播放 m3u8 格式的视频播放器

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published