Skip to content

Latest commit

 

History

History
21 lines (20 loc) · 914 Bytes

README.md

File metadata and controls

21 lines (20 loc) · 914 Bytes

YouTube Video Player and Feedback

<ALSET-YouTube
  videoId={string}                  // defaults -> null
  id={string}                       // defaults -> null
  className={string}                // defaults -> null
  containerClassName={string}       // defaults -> ''
  opts={obj}                        // defaults -> {}
  onReady={func}                    // defaults -> noop
  onPlay={func}                     // defaults -> noop
  onPause={func}                    // defaults -> noop
  onEnd={func}                      // defaults -> noop
  onError={func}                    // defaults -> noop
  onStateChange={func}              // defaults -> noop
  onPlaybackRateChange={func}       // defaults -> noop
  onPlaybackQualityChange={func}    // defaults -> noop
  question={string} // defaults -> What did this video cover?
  submitResponse={function(string){return string}} // optional  
/>