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:
parent
7954c92c0b
commit
442427ebd5
@ -1,3 +1,8 @@
|
|||||||
|
### v3.5.9
|
||||||
|
|
||||||
|
- Fix for regression with volume control width
|
||||||
|
- Ensure poster image is not downloaded again for HTML5 videos
|
||||||
|
|
||||||
### v3.5.8
|
### v3.5.8
|
||||||
|
|
||||||
- Added `flex-direction` property to fix some issues introduced in v3.5.7 when using custom CSS
|
- Added `flex-direction` property to fix some issues introduced in v3.5.7 when using custom CSS
|
||||||
|
2
demo/dist/demo.css
vendored
2
demo/dist/demo.css
vendored
File diff suppressed because one or more lines are too long
2
demo/dist/demo.min.js
vendored
2
demo/dist/demo.min.js
vendored
File diff suppressed because one or more lines are too long
2
demo/dist/demo.min.js.map
vendored
2
demo/dist/demo.min.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/plyr.css
vendored
2
dist/plyr.css
vendored
File diff suppressed because one or more lines are too long
2
dist/plyr.min.js
vendored
2
dist/plyr.min.js
vendored
File diff suppressed because one or more lines are too long
1
dist/plyr.min.js.map
vendored
1
dist/plyr.min.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/plyr.min.mjs
vendored
2
dist/plyr.min.mjs
vendored
File diff suppressed because one or more lines are too long
2
dist/plyr.min.mjs.map
vendored
2
dist/plyr.min.mjs.map
vendored
File diff suppressed because one or more lines are too long
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
|
} // 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
|
return ready.call(this) // Load image
|
||||||
.then(function () {
|
.then(function () {
|
||||||
|
2
dist/plyr.polyfilled.min.js.map
vendored
2
dist/plyr.polyfilled.min.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/plyr.polyfilled.min.mjs.map
vendored
2
dist/plyr.polyfilled.min.mjs.map
vendored
File diff suppressed because one or more lines are too long
7
dist/plyr.polyfilled.mjs
vendored
7
dist/plyr.polyfilled.mjs
vendored
@ -10780,7 +10780,12 @@ var ui = {
|
|||||||
} // Set property synchronously to respect the call order
|
} // 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
|
return ready.call(this) // Load image
|
||||||
.then(function () {
|
.then(function () {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "plyr",
|
"name": "plyr",
|
||||||
"version": "3.5.8",
|
"version": "3.5.9",
|
||||||
"description": "A simple, accessible and customizable HTML5, YouTube and Vimeo media player",
|
"description": "A simple, accessible and customizable HTML5, YouTube and Vimeo media player",
|
||||||
"homepage": "https://plyr.io",
|
"homepage": "https://plyr.io",
|
||||||
"author": "Sam Potts <sam@potts.es>",
|
"author": "Sam Potts <sam@potts.es>",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user