Skip to content

Commit 0b333c1

Browse files
author
Constantin
committed
Minified JS and updated version
1 parent 98b55f9 commit 0b333c1

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "swipebox",
3-
"version": "1.3.0.1",
3+
"version": "1.3.0.2",
44
"main": "src/js/jquery.swipebox.js"
55
}

src/js/jquery.swipebox.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Swipebox v1.3.0.1 | Constantin Saguin csag.co | MIT License | github.com/brutaldesign/swipebox */
1+
/*! Swipebox v1.3.0.2 | Constantin Saguin csag.co | MIT License | github.com/brutaldesign/swipebox */
22

33
;( function ( window, document, $, undefined ) {
44

@@ -739,11 +739,11 @@
739739
if ( youtubeShortUrl ) {
740740
youtubeUrl = youtubeShortUrl;
741741
}
742-
iframe = '<iframe width="560" height="315" src="//www.youtube.com/embed/' + youtubeUrl[1] + '?autoplay='+(+plugin.settings.autoplayVideos)+'" frameborder="0" allowfullscreen></iframe>';
742+
iframe = '<iframe width="560" height="315" src="//www.youtube.com/embed/' + youtubeUrl[1] + '?autoplay='+ plugin.settings.autoplayVideos + '" frameborder="0" allowfullscreen></iframe>';
743743

744744
} else if ( vimeoUrl ) {
745745

746-
iframe = '<iframe width="560" height="315" src="//player.vimeo.com/video/' + vimeoUrl[1] + '?byline=0&amp;portrait=0&amp;color='+plugin.settings.vimeoColor+'&autoplay='+(+plugin.settings.autoplayVideos)+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';
746+
iframe = '<iframe width="560" height="315" src="//player.vimeo.com/video/' + vimeoUrl[1] + '?byline=0&amp;portrait=0&amp;color=' + plugin.settings.vimeoColor + '&autoplay=' + plugin.settings.autoplayVideos + '" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';
747747

748748
}
749749

@@ -753,7 +753,7 @@
753753
iframe = '<iframe width="560" height="315" src="' + url + '" frameborder="0" allowfullscreen></iframe>';
754754
}
755755

756-
return '<div class="swipebox-video-container" style="max-width:' + plugin.settings.videomaxWidth + 'px"><div class="swipebox-video">'+iframe+'</div></div>';
756+
return '<div class="swipebox-video-container" style="max-width:' + plugin.settings.videomaxWidth + 'px"><div class="swipebox-video">' + iframe + '</div></div>';
757757
},
758758

759759
/**

0 commit comments

Comments
 (0)