Skip to content

wangzuo/react-videojs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-videojs

react videojs wrapper

Installtion

npm install react-videojs --save

Demo

http://esportsguy.github.io/react-videojs/

Usage

Video.js should be loaded globally.

<script src="http://vjs.zencdn.net/5-unsafe/video.js"></script>
<Video
  src="http://www.w3schools.com/html/mov_bbb.mp4"
  type="video/mp4"
  onPlay={this.handlePlay}
/>

License

ISC