youtube-video
Minimalistic API to play Youtube videos
youtubeVideo =
- Demo: http://requirebin.com/embed?gist=6774318
- Source code: http://requirebin.com/?gist=6774318
Install
$ npm install youtube-video
API
video-id
or video-url
, onReady
)
youtubeVideo(
video-id
or video-url
, options
, onReady
)
youtubeVideo(youtubeVideo =