v3.3.15
This commit is contained in:
parent
22d524ac9d
commit
ea4d91d2a0
@ -1,3 +1,7 @@
|
|||||||
|
# v3.3.15
|
||||||
|
|
||||||
|
- Fix for error relating to play buttons when switching source
|
||||||
|
|
||||||
# v3.3.14
|
# v3.3.14
|
||||||
|
|
||||||
- Fix sprite loading regression
|
- Fix sprite loading regression
|
||||||
|
2
dist/plyr.js
vendored
2
dist/plyr.js
vendored
@ -4081,9 +4081,11 @@ typeof navigator === "object" && (function (global, factory) {
|
|||||||
toggleClass(this.elements.container, this.config.classNames.stopped, this.stopped);
|
toggleClass(this.elements.container, this.config.classNames.stopped, this.stopped);
|
||||||
|
|
||||||
// Set state
|
// Set state
|
||||||
|
if (is.nodeList(this.elements.buttons.play)) {
|
||||||
Array.from(this.elements.buttons.play).forEach(function (target) {
|
Array.from(this.elements.buttons.play).forEach(function (target) {
|
||||||
target.pressed = _this3.playing;
|
target.pressed = _this3.playing;
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
// Only update controls on non timeupdate events
|
// Only update controls on non timeupdate events
|
||||||
if (is.event(event) && event.type === 'timeupdate') {
|
if (is.event(event) && event.type === 'timeupdate') {
|
||||||
|
2
dist/plyr.js.map
vendored
2
dist/plyr.js.map
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
2
dist/plyr.min.js.map
vendored
2
dist/plyr.min.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/plyr.polyfilled.js
vendored
2
dist/plyr.polyfilled.js
vendored
@ -9467,9 +9467,11 @@ typeof navigator === "object" && (function (global, factory) {
|
|||||||
toggleClass(this.elements.container, this.config.classNames.stopped, this.stopped);
|
toggleClass(this.elements.container, this.config.classNames.stopped, this.stopped);
|
||||||
|
|
||||||
// Set state
|
// Set state
|
||||||
|
if (is$1.nodeList(this.elements.buttons.play)) {
|
||||||
Array.from(this.elements.buttons.play).forEach(function (target) {
|
Array.from(this.elements.buttons.play).forEach(function (target) {
|
||||||
target.pressed = _this3.playing;
|
target.pressed = _this3.playing;
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
// Only update controls on non timeupdate events
|
// Only update controls on non timeupdate events
|
||||||
if (is$1.event(event) && event.type === 'timeupdate') {
|
if (is$1.event(event) && event.type === 'timeupdate') {
|
||||||
|
2
dist/plyr.polyfilled.js.map
vendored
2
dist/plyr.polyfilled.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/plyr.polyfilled.min.js
vendored
2
dist/plyr.polyfilled.min.js
vendored
File diff suppressed because one or more lines are too long
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
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "plyr",
|
"name": "plyr",
|
||||||
"version": "3.3.14",
|
"version": "3.3.15",
|
||||||
"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",
|
||||||
"main": "./dist/plyr.js",
|
"main": "./dist/plyr.js",
|
||||||
|
@ -132,13 +132,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.
|
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
|
```html
|
||||||
<script src="https://cdn.plyr.io/3.3.14/plyr.js"></script>
|
<script src="https://cdn.plyr.io/3.3.15/plyr.js"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
...or...
|
...or...
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<script src="https://cdn.plyr.io/3.3.14/plyr.polyfilled.js"></script>
|
<script src="https://cdn.plyr.io/3.3.15/plyr.polyfilled.js"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
### CSS
|
### CSS
|
||||||
@ -152,13 +152,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:
|
If you want to use our CDN (provided by [Fastly](https://www.fastly.com/)) for the default CSS, you can use the following:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<link rel="stylesheet" href="https://cdn.plyr.io/3.3.14/plyr.css">
|
<link rel="stylesheet" href="https://cdn.plyr.io/3.3.15/plyr.css">
|
||||||
```
|
```
|
||||||
|
|
||||||
### SVG Sprite
|
### 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
|
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.3.14/plyr.svg`.
|
reference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/3.3.15/plyr.svg`.
|
||||||
|
|
||||||
## Ads
|
## Ads
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// ==========================================================================
|
// ==========================================================================
|
||||||
// Plyr
|
// Plyr
|
||||||
// plyr.js v3.3.14
|
// plyr.js v3.3.15
|
||||||
// https://github.com/sampotts/plyr
|
// https://github.com/sampotts/plyr
|
||||||
// License: The MIT License (MIT)
|
// License: The MIT License (MIT)
|
||||||
// ==========================================================================
|
// ==========================================================================
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// ==========================================================================
|
// ==========================================================================
|
||||||
// Plyr Polyfilled Build
|
// Plyr Polyfilled Build
|
||||||
// plyr.js v3.3.14
|
// plyr.js v3.3.15
|
||||||
// https://github.com/sampotts/plyr
|
// https://github.com/sampotts/plyr
|
||||||
// License: The MIT License (MIT)
|
// License: The MIT License (MIT)
|
||||||
// ==========================================================================
|
// ==========================================================================
|
||||||
|
@ -214,9 +214,11 @@ const ui = {
|
|||||||
toggleClass(this.elements.container, this.config.classNames.stopped, this.stopped);
|
toggleClass(this.elements.container, this.config.classNames.stopped, this.stopped);
|
||||||
|
|
||||||
// Set state
|
// Set state
|
||||||
|
if (is.nodeList(this.elements.buttons.play)) {
|
||||||
Array.from(this.elements.buttons.play).forEach(target => {
|
Array.from(this.elements.buttons.play).forEach(target => {
|
||||||
target.pressed = this.playing;
|
target.pressed = this.playing;
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
// Only update controls on non timeupdate events
|
// Only update controls on non timeupdate events
|
||||||
if (is.event(event) && event.type === 'timeupdate') {
|
if (is.event(event) && event.type === 'timeupdate') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user