Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

Commit

Permalink
Fixed small dimensions on Vimeo videos
Browse files Browse the repository at this point in the history
Caused by changed Vimeo made to their API
  • Loading branch information
staaky committed Aug 27, 2016
1 parent ed13a8a commit 145e4e1
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "strip",
"description": "A Less Intrusive Responsive Lightbox",
"version": "1.6.2",
"version": "1.6.3",
"homepage": "http://stripjs.com",
"keywords": [
"lightbox",
Expand Down
4 changes: 2 additions & 2 deletions dist/css/strip.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Strip - A Less Intrusive Responsive Lightbox - v1.6.2
* (c) 2014-2015 Nick Stakenburg
* Strip - A Less Intrusive Responsive Lightbox - v1.6.3
* (c) 2014-2016 Nick Stakenburg
*
* http://www.stripjs.com
*
Expand Down
8 changes: 4 additions & 4 deletions dist/js/strip.pkgd.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Strip - A Less Intrusive Responsive Lightbox - v1.6.2
* (c) 2014-2015 Nick Stakenburg
* Strip - A Less Intrusive Responsive Lightbox - v1.6.3
* (c) 2014-2016 Nick Stakenburg
*
* http://www.stripjs.com
*
Expand All @@ -25,7 +25,7 @@
}(this, function($) {

var Strip = {
version: '1.6.2'
version: '1.6.3'
};

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

this._xhr = $.getJSON(protocol + '//vimeo.com/api/oembed.json?url=' + protocol + '//vimeo.com/' + video_id + '&callback=?', $.proxy(function(_data) {
this._xhr = $.getJSON(protocol + '//vimeo.com/api/oembed.json?url=' + protocol + '//vimeo.com/' + video_id + '&maxwidth=9999999&maxheight=9999999&callback=?', $.proxy(function(_data) {
var data = {
dimensions: {
width: _data.width,
Expand Down
6 changes: 3 additions & 3 deletions dist/js/strip.pkgd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@staaky/strip",
"title": "Strip",
"version": "1.6.2",
"version": "1.6.3",
"description": "A Less Intrusive Responsive Lightbox",
"homepage": "http://stripjs.com",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion src/js/helpers/vimeoready.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $.extend(VimeoReady.prototype, {
var protocol = 'http' + (window.location && window.location.protocol == 'https:' ? 's' : '') + ':',
video_id = getURIData(this.url).id;

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

0 comments on commit 145e4e1

Please sign in to comment.