v3.5.9 deployed

This commit is contained in:
Sam Potts
2020-02-14 17:00:33 +00:00
parent 924049aa14
commit 04d06f2242
19 changed files with 41 additions and 25 deletions

9
dist/plyr.mjs vendored
View File

@ -3654,7 +3654,7 @@ var defaults$1 = {
// Sprite (for icons)
loadSprite: true,
iconPrefix: 'plyr',
iconUrl: 'https://cdn.plyr.io/3.5.8/plyr.svg',
iconUrl: 'https://cdn.plyr.io/3.5.9/plyr.svg',
// Blank video (used to prevent errors on source change)
blankVideo: 'https://cdn.plyr.io/static/blank.mp4',
// Quality default
@ -4485,7 +4485,12 @@ var ui = {
} // Set property synchronously to respect the call order
this.media.setAttribute('poster', poster); // Wait until ui is ready
this.media.setAttribute('poster', poster); // HTML5 uses native poster attribute
if (this.isHTML5) {
return Promise.resolve(poster);
} // Wait until ui is ready
return ready.call(this) // Load image
.then(function () {