|
|
@ -27,7 +27,9 @@ onready(function(){ |
|
|
|
$('div.video-container a', tag).click(function() { |
|
|
|
var videoID = $(this.parentNode).data('video'); |
|
|
|
|
|
|
|
$(this.parentNode).html('<iframe style="float:left;margin: 10px 20px" type="text/html" width="360" height="270" src="//www.youtube.com/embed/' + videoID + '?autoplay=1" frameborder="0"/>'); |
|
|
|
$(this.parentNode).html('<iframe style="float:left;margin: 10px 20px" type="text/html" '+ |
|
|
|
'width="360" height="270" src="//www.youtube.com/embed/' + videoID + |
|
|
|
'?autoplay=1&html5=1" allowfullscreen frameborder="0"/>'); |
|
|
|
|
|
|
|
return false; |
|
|
|
}); |
|
|
|