-   Fix for regression with volume control width
-   Ensure poster image is not downloaded again for HTML5 videos
This commit is contained in:
Sam Potts
2020-02-14 16:54:22 +00:00
parent 7954c92c0b
commit 442427ebd5
14 changed files with 27 additions and 13 deletions

2
dist/plyr.css 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

2
dist/plyr.min.mjs 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

@ -10786,7 +10786,12 @@ typeof navigator === "object" && (function (global, factory) {
} // 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 () {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -10780,7 +10780,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 () {