genie-react-video-stream
v1.0.1
Published
A react component for holding a video stream Blob from WebRTC using the genie framework
Downloads
7
Readme
react-video-stream
Get the AMD module located at react-video-stream.js
and include it in your project.
Here is a sample integration:
require.config({
paths: {
'react': 'vendor/bower_components/react/react',
'ReactVideoStream': 'react-video-stream'
}
});
require(['react', 'ReactVideoStream'], function(React, ReactVideoStream) {
var App = React.createClass({
render: function () {
<ReactVideoStream bloblUrl={this.state.blobURL} />
}
})
React.render(<App/>, document.getElementById('widget-container'));
});
Development
- Development server
npm run dev
. - Continuously run tests on file changes
npm run watch-test
; - Run tests:
npm test
; - Build
npm run build
;