This commit is contained in:
Sam Potts
2018-08-14 12:16:34 +10:00
parent 8fb8ae1260
commit 7dc4d9cd22
13 changed files with 21 additions and 17 deletions
+4
View File
@@ -1,3 +1,7 @@
# v3.4.3
- Fixed issue with nodeList for custom playback controls
# v3.4.2 # v3.4.2
- Fix play/pause button state - Fix play/pause button state
+2 -2
View File
@@ -2959,8 +2959,8 @@ typeof navigator === "object" && (function (global, factory) {
// Toggle classname when pressed property is set // Toggle classname when pressed property is set
Object.values(this.elements.buttons).filter(Boolean).forEach(function (button) { Object.values(this.elements.buttons).filter(Boolean).forEach(function (button) {
if (is.array(button)) { if (is.array(button) || is.nodeList(button)) {
button.filter(Boolean).forEach(addProperty); Array.from(button).filter(Boolean).forEach(addProperty);
} else { } else {
addProperty(button); addProperty(button);
} }
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -8386,8 +8386,8 @@ typeof navigator === "object" && (function (global, factory) {
// Toggle classname when pressed property is set // Toggle classname when pressed property is set
Object.values(this.elements.buttons).filter(Boolean).forEach(function (button) { Object.values(this.elements.buttons).filter(Boolean).forEach(function (button) {
if (is$1.array(button)) { if (is$1.array(button) || is$1.nodeList(button)) {
button.filter(Boolean).forEach(addProperty); Array.from(button).filter(Boolean).forEach(addProperty);
} else { } else {
addProperty(button); addProperty(button);
} }
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "plyr", "name": "plyr",
"version": "3.4.2", "version": "3.4.3",
"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>",
+4 -4
View File
@@ -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.4.2/plyr.js"></script> <script src="https://cdn.plyr.io/3.4.3/plyr.js"></script>
``` ```
...or... ...or...
```html ```html
<script src="https://cdn.plyr.io/3.4.2/plyr.polyfilled.js"></script> <script src="https://cdn.plyr.io/3.4.3/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.4.2/plyr.css"> <link rel="stylesheet" href="https://cdn.plyr.io/3.4.3/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.4.2/plyr.svg`. reference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/3.4.3/plyr.svg`.
## Ads ## Ads
+1 -1
View File
@@ -1,6 +1,6 @@
// ========================================================================== // ==========================================================================
// Plyr // Plyr
// plyr.js v3.4.2 // plyr.js v3.4.3
// https://github.com/sampotts/plyr // https://github.com/sampotts/plyr
// License: The MIT License (MIT) // License: The MIT License (MIT)
// ========================================================================== // ==========================================================================
+1 -1
View File
@@ -1,6 +1,6 @@
// ========================================================================== // ==========================================================================
// Plyr Polyfilled Build // Plyr Polyfilled Build
// plyr.js v3.4.2 // plyr.js v3.4.3
// https://github.com/sampotts/plyr // https://github.com/sampotts/plyr
// License: The MIT License (MIT) // License: The MIT License (MIT)
// ========================================================================== // ==========================================================================