README
jqyt
jQuery plug-in for the YouTube iFrame API
Basic Example
HTML
<div class="video" style="width:500px;height:300px;"></div>
JavaScript
$( '.video' ).jqyt( { videoId: 'bHQqvYy5KYo' } );
Basic Example : Multiple Videos
HTML
<div class="video" data-jqyt-video-id="bHQqvYy5KYo" style="width:500px;height:300px;"></div>
<div class="video" data-jqyt-video-id="EgeMgjplANY" style="width:500px;height:300px;"></div>
JavaScript
$( '.video' ).jqyt();