Skip to content

Commit 145e4e1

Browse files
committed
Fixed small dimensions on Vimeo videos
Caused by changed Vimeo made to their API
1 parent ed13a8a commit 145e4e1

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "strip",
33
"description": "A Less Intrusive Responsive Lightbox",
4-
"version": "1.6.2",
4+
"version": "1.6.3",
55
"homepage": "http://stripjs.com",
66
"keywords": [
77
"lightbox",

dist/css/strip.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
2-
* Strip - A Less Intrusive Responsive Lightbox - v1.6.2
3-
* (c) 2014-2015 Nick Stakenburg
2+
* Strip - A Less Intrusive Responsive Lightbox - v1.6.3
3+
* (c) 2014-2016 Nick Stakenburg
44
*
55
* http://www.stripjs.com
66
*

dist/js/strip.pkgd.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
2-
* Strip - A Less Intrusive Responsive Lightbox - v1.6.2
3-
* (c) 2014-2015 Nick Stakenburg
2+
* Strip - A Less Intrusive Responsive Lightbox - v1.6.3
3+
* (c) 2014-2016 Nick Stakenburg
44
*
55
* http://www.stripjs.com
66
*
@@ -25,7 +25,7 @@
2525
}(this, function($) {
2626

2727
var Strip = {
28-
version: '1.6.2'
28+
version: '1.6.3'
2929
};
3030

3131
Strip.Skins = {
@@ -704,7 +704,7 @@ $.extend(VimeoReady.prototype, {
704704
var protocol = 'http' + (window.location && window.location.protocol == 'https:' ? 's' : '') + ':',
705705
video_id = getURIData(this.url).id;
706706

707-
this._xhr = $.getJSON(protocol + '//vimeo.com/api/oembed.json?url=' + protocol + '//vimeo.com/' + video_id + '&callback=?', $.proxy(function(_data) {
707+
this._xhr = $.getJSON(protocol + '//vimeo.com/api/oembed.json?url=' + protocol + '//vimeo.com/' + video_id + '&maxwidth=9999999&maxheight=9999999&callback=?', $.proxy(function(_data) {
708708
var data = {
709709
dimensions: {
710710
width: _data.width,

dist/js/strip.pkgd.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@staaky/strip",
33
"title": "Strip",
4-
"version": "1.6.2",
4+
"version": "1.6.3",
55
"description": "A Less Intrusive Responsive Lightbox",
66
"homepage": "http://stripjs.com",
77
"author": {

src/js/helpers/vimeoready.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $.extend(VimeoReady.prototype, {
2020
var protocol = 'http' + (window.location && window.location.protocol == 'https:' ? 's' : '') + ':',
2121
video_id = getURIData(this.url).id;
2222

23-
this._xhr = $.getJSON(protocol + '//vimeo.com/api/oembed.json?url=' + protocol + '//vimeo.com/' + video_id + '&callback=?', $.proxy(function(_data) {
23+
this._xhr = $.getJSON(protocol + '//vimeo.com/api/oembed.json?url=' + protocol + '//vimeo.com/' + video_id + '&maxwidth=9999999&maxheight=9999999&callback=?', $.proxy(function(_data) {
2424
var data = {
2525
dimensions: {
2626
width: _data.width,

0 commit comments

Comments
 (0)