Vimeo hotfix

This commit is contained in:
Sam Potts
2018-03-29 19:35:02 +11:00
parent dda8e30b92
commit 1c06f6d06d
15 changed files with 37 additions and 21 deletions

7
dist/plyr.js vendored
View File

@ -77,7 +77,7 @@ var defaults = {
// Sprite (for icons)
loadSprite: true,
iconPrefix: 'plyr',
iconUrl: 'https://cdn.plyr.io/3.0.6/plyr.svg',
iconUrl: 'https://cdn.plyr.io/3.0.8/plyr.svg',
// Blank video (used to prevent errors on source change)
blankVideo: 'https://cdn.plyr.io/static/blank.mp4',
@ -6068,7 +6068,10 @@ var vimeo = {
var currentSrc = void 0;
player.embed.getVideoUrl().then(function (value) {
currentSrc = value;
}).catch(function (error) {
_this2.debug.warn(error);
});
Object.defineProperty(player.media, 'currentSrc', {
get: function get() {
return currentSrc;
@ -6434,7 +6437,7 @@ var source = {
// ==========================================================================
// Plyr
// plyr.js v3.0.6
// plyr.js v3.0.8
// https://github.com/sampotts/plyr
// License: The MIT License (MIT)
// ==========================================================================

2
dist/plyr.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/plyr.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5268,7 +5268,7 @@ var defaults = {
// Sprite (for icons)
loadSprite: true,
iconPrefix: 'plyr',
iconUrl: 'https://cdn.plyr.io/3.0.7/plyr.svg',
iconUrl: 'https://cdn.plyr.io/3.0.8/plyr.svg',
// Blank video (used to prevent errors on source change)
blankVideo: 'https://cdn.plyr.io/static/blank.mp4',
@ -11249,7 +11249,10 @@ var vimeo = {
var currentSrc = void 0;
player.embed.getVideoUrl().then(function (value) {
currentSrc = value;
}).catch(function (error) {
_this2.debug.warn(error);
});
Object.defineProperty(player.media, 'currentSrc', {
get: function get() {
return currentSrc;
@ -11615,7 +11618,7 @@ var source = {
// ==========================================================================
// Plyr
// plyr.js v3.0.7
// plyr.js v3.0.8
// https://github.com/sampotts/plyr
// License: The MIT License (MIT)
// ==========================================================================
@ -12931,7 +12934,7 @@ var Plyr$1 = function () {
// ==========================================================================
// Plyr Polyfilled Build
// plyr.js v3.0.6
// plyr.js v3.0.8
// https://github.com/sampotts/plyr
// License: The MIT License (MIT)
// ==========================================================================

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long