Skip to content

Commit

Permalink
Fix commenting and tidy iframe markup
Browse files Browse the repository at this point in the history
  • Loading branch information
dmseaton committed Jun 12, 2015
1 parent 9b73898 commit 9fe11b6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/js/owl.video.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
;(function($, window, document, undefined) {

/**
* Creates the fetch plugin.
* Creates the video plugin.
* @class The Video Plugin
* @param {Owl} carousel - The Owl Carousel
*/
Expand Down Expand Up @@ -254,8 +254,9 @@
'?autoplay=1" width="' + width + '" height="' + height +
'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>';
} else if (video.type === 'vzaar') {
html = '<iframe class="vzaar-video-player" frameborder="0" height="' + height + '" width="' + width + '"' +
'allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/' + video.id + '/player?autoplay=true"></iframe>';
html = '<iframe class="vzaar-video-player" frameborder="0"' + 'height="' + height + '"' +
'width="' + width + '" allowfullscreen mozallowfullscreen webkitAllowFullScreen ' +
'src="//view.vzaar.com/' + video.id + '/player?autoplay=true"></iframe>';
}

$('<div class="owl-video-frame">' + html + '</div>').insertAfter(item.find('.owl-video'));
Expand Down

0 comments on commit 9fe11b6

Please sign in to comment.