rsrose21 / ng-videosharing-embed

embed youtube/vimeo/dailymotion videos using AngularJS directives

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ng-videosharing-embed

Embed videos using AngularJS directives

Build Status


Purpose

A small project I've started while learning angularJS. It has no real purpose other than educational.

Support via Gittip

Usage

Requirements

  • AngularJS v1.0.0+ is supported

Supported Video Sources

  • Youtube (iframe)
  • Youtube no cookies (iframe)
  • Dailymotion (iframe)
  • Vimeo (iframe)

Test

Generic

<a href="<videoUrl>" embed-video width=xxx height=xxx [options]></a>

Example

<a href="http://www.youtube.com/watch?v=LOKyEt36Kjc" embed-video controls=0></a>

Player's options are unique for each video source. For a list of available options, take a look at src/angular-embedplayer.js

About

embed youtube/vimeo/dailymotion videos using AngularJS directives

License:MIT License