react-jtv-chromecast
Sender app component for chromecast.
Install
npm install --save react-jtv-chromecast
Usage
import React Component from 'react' import JTVChromeCast JTVCastUI from 'react-jtv-chromecast';import './css/castvideo.css'; { let mediaContent = 'sources' : 'video_url' 'thumb' : 'thumb_url' 'title' : 'Title of the video' return <JTVCastUI = = /> }
License
MIT © rcmahapatra