You need just one thing to make the component work. After download
<link rel="stylesheet" href="/path/react-video.css" />
Using the component is simpler than installing. See an example with browserify to bundle your script:
/** @jsx React.DOM */
var Video = require('react-video');
React.renderComponent(
<Video from='youtube' id={videoId} />,
document.querySelector('#your-div')
);
React.renderComponent(
<Video from='vimeo' id={videoId} />,
document.querySelector('#your-div')
);
If you decide to use just Javascript without any module loader, you can get the global variable window.ReactVideo
:
/** @jsx React.DOM */
var Video = ReactVideo;