angular-youtube-preview

An angular directive to display a preview of youtube videos that will switch to a player when clicked.

Angular Core Dependency: >= 1.2.*

Module License: MIT

Added by: Sam Deering

GitHub

Repository

stevenw/angular-youtube-preview

Stats

Stars: 4

Watchers: 4

Forks: 1

Author

Steven
Steven

Module Description

angular-youtube-preview

This AngularJS directive retrieves & displays a preview screen shot for http://www.youtube.com videos in lieu of loading the embedded player until the user clicks the preview.

Requirements: AngularJS 1.2+

Usage:

add the module as a dependency.

angular.module('myApp', ['angularYoutubePreview'])

install via bower:

$ bower install angular-youtube-preview

Configuration

required

<youtube-preview v="SEyNApYnmgg" width="560" height="315"></youtube-preview>

optional

<youtube-preview v="SEyNApYnmgg" width="560" height="315" frame-key="0" play-icon="img/icon-youtube-play.png"></youtube-preview>

Module stats last updated: 2015-06-08 00:33:07

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!