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
demo/dist/demo.js vendored
View File

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

9
dist/plyr.js vendored
View File

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

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

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 () {

View File

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

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

File diff suppressed because one or more lines are too long

View File

@ -9937,7 +9937,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

View File

@ -130,13 +130,13 @@ See [initialising](#initialising) for more information on advanced setups.
You can use our CDN (provided by [Fastly](https://www.fastly.com/)) for the JavaScript. There's 2 versions; one with and one without [polyfills](#polyfills). My recommendation would be to manage polyfills seperately as part of your application but to make life easier you can use the polyfilled build.
```html
<script src="https://cdn.plyr.io/3.5.8/plyr.js"></script>
<script src="https://cdn.plyr.io/3.5.9/plyr.js"></script>
```
...or...
```html
<script src="https://cdn.plyr.io/3.5.8/plyr.polyfilled.js"></script>
<script src="https://cdn.plyr.io/3.5.9/plyr.polyfilled.js"></script>
```
## CSS
@ -150,13 +150,13 @@ Include the `plyr.css` stylsheet into your `<head>`.
If you want to use our CDN (provided by [Fastly](https://www.fastly.com/)) for the default CSS, you can use the following:
```html
<link rel="stylesheet" href="https://cdn.plyr.io/3.5.8/plyr.css" />
<link rel="stylesheet" href="https://cdn.plyr.io/3.5.9/plyr.css" />
```
## SVG Sprite
The SVG sprite is loaded automatically from our CDN (provided by [Fastly](https://www.fastly.com/)). To change this, see the [options](#options) below. For
reference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/3.5.8/plyr.svg`.
reference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/3.5.9/plyr.svg`.
# Ads

View File

@ -61,7 +61,7 @@ const defaults = {
// 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',

View File

@ -1,6 +1,6 @@
// ==========================================================================
// Plyr
// plyr.js v3.5.8
// plyr.js v3.5.9
// https://github.com/sampotts/plyr
// License: The MIT License (MIT)
// ==========================================================================

View File

@ -1,6 +1,6 @@
// ==========================================================================
// Plyr Polyfilled Build
// plyr.js v3.5.8
// plyr.js v3.5.9
// https://github.com/sampotts/plyr
// License: The MIT License (MIT)
// ==========================================================================