v3.5.9
- Fix for regression with volume control width - Ensure poster image is not downloaded again for HTML5 videos
This commit is contained in:
7
dist/plyr.polyfilled.js
vendored
7
dist/plyr.polyfilled.js
vendored
@ -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 () {
|
||||
|
Reference in New Issue
Block a user