Embed videos using AngularJS directives
A small project I've started while learning angularJS. It has no real purpose other than educational.
- AngularJS v1.0.0+ is currently required.
Supported Video Sources
- Youtube (iframe)
- Dailymotion (iframe)
- Vimeo (iframe)
<a href="<videoUrl>" embev-video width=xxx height=xxx [options]></a>
<a href="http://www.youtube.com/watch?v=LOKyEt36Kjc" embed-video controls=0></a>
Options are configured for each player, and allowed options are filtered using a whitelist.
Note: camelCase options must be changed to dash-format