Angular.js Lazy Loading YouTube Example

Link (preferred)

<a ob-lazytube href="http://www.youtube.com/watch?v=J---aiyznGQ">Keyboard cat</a> Keyboard cat

Disable responsiveness

<a ob-lazytube no-responsive href="http://www.youtube.com/watch?v=J---aiyznGQ">Keyboard cat</a> Keyboard cat

Generic element with options

<div ob-lazytube="J---aiyznGQ" modestbranding="1" rel="0">Keyboard cat</div>
Keyboard cat

iframe (with custom aspect ratio)

<iframe ob-lazytube width="480" height="360" src="//www.youtube.com/embed/J---aiyznGQ" frameborder="0" allowfullscreen>Keyboard cat</iframe>