Get video source from Youtube or Vimeo URL.
Install
$ npm install video-source-url --save-dev
Usage
For now, Youtube and Vimeo urls are supported.
var videoSourceUrl = ;videoSourceUrl;// {// id: '3cvmONlV5WU',// type: 'youtube',// src: 'https://www.youtube.com/embed/3cvmONlV5WU'// }
Contributions
Pull requests and issues are be welcome.
License
MIT license
© 2015 José Luis Quintana