A simple modal which opens with a youtube video. Modal closes when user clicks outside modal or if video finishes(default behaviour).
##Install
npm install- react-youtube-modal --save
##Basic Usage
<YoutubeModal videoId="B6-WRTmjFAA" >
<button type="button">Open Modal!</button>
</YoutubeModal>
Required:
- videoId - ID of youtube video displayed in modal
Not Required:
- closeOnFinish : Default - true
- height : Default - 640px
- width : Default - 390px