video-embed
This module generates video embed code for services like YouTube, Vimeo and Vevo. In short, it converts this:
https://www.youtube.com/watch?v=oHg5SJYRHA0
To this:
Usage
var videoEmbed = ; var embedHTML = ; console;// <iframe src="//www.youtube.com/embed/oHg5SJYRHA0" frameborder="0" allowfullscreen></iframe>
Video website support
The module currently supports the following video websites:
YouTube
The module supports the following YouTube link formats
Vimeo
The module supports the following Vimeo link formats
Vevo
The module supports the following Vevo link formats
- http://www.vevo.com/watch/striking-matches/Hanging-On-A-Lie/USUV71500275
- http://www.vevo.com/watch/american-fangs/Man-in-the-Sun-(Official-Video)/USV291470452?syndicationid=bb8a16ab-1279-4f17-969b-1dba5eb60eda&shortlink=nv0hFi&country=GB
Other websites
If you'd like other video websites to be supported you are more than welcome to submit a pull request or an issue requesting a site 😃