shm-youtube

1.0.4 • Public • Published

Angular Youtube

wercker status

bower i shm-youtube

Import shm.youtube module into your app.

var app = angular.module('yourApp', ['shm.youtube'])

Use that tag

<youtube 
	width="100%"
	height="480"
	mercy="1000"
	video="98QwPO1b5j4">
</youtube>

The mercy attribute is the time delay in milliseconds until the DOM element gets replaced with the iframe. This can be useful to avoid repaints while transitioning from states.

Readme

Keywords

none

Package Sidebar

Install

npm i shm-youtube

Weekly Downloads

3

Version

1.0.4

License

none

Last publish

Collaborators

  • shemdia