Fix regression

This commit is contained in:
Sam Potts
2018-03-29 20:20:37 +11:00
parent 1c06f6d06d
commit 0d0ece94d3
20 changed files with 28 additions and 35 deletions
+5
View File
@@ -1,3 +1,8 @@
## v3.0.9
* Demo fix
* Fix Vimeo regression
## v3.0.8 ## v3.0.8
* Vimeo hotfix for private videos * Vimeo hotfix for private videos
+1 -4
View File
@@ -3846,9 +3846,6 @@ var singleton = Raven;
enabled: true, enabled: true,
publisherId: '918848828995742' publisherId: '918848828995742'
} }
/* listeners: {
seek: () => false,
}, */
}); });
// Expose for tinkering in the console // Expose for tinkering in the console
@@ -3936,7 +3933,7 @@ var singleton = Raven;
player.source = { player.source = {
type: 'video', type: 'video',
sources: [{ sources: [{
src: 'https://vimeo.com/25345658', src: 'https://vimeo.com/76979871',
provider: 'vimeo' provider: 'vimeo'
}] }]
}; };
+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 -4
View File
@@ -83,9 +83,6 @@ import Raven from 'raven-js';
enabled: true, enabled: true,
publisherId: '918848828995742', publisherId: '918848828995742',
}, },
/* listeners: {
seek: () => false,
}, */
}); });
// Expose for tinkering in the console // Expose for tinkering in the console
@@ -179,7 +176,7 @@ import Raven from 'raven-js';
player.source = { player.source = {
type: 'video', type: 'video',
sources: [{ sources: [{
src: 'https://vimeo.com/25345658', src: 'https://vimeo.com/76979871',
provider: 'vimeo', provider: 'vimeo',
}], }],
}; };
+1 -3
View File
@@ -3990,9 +3990,7 @@ var controls = {
this.elements.controls = container; this.elements.controls = container;
if (this.isHTML5) { controls.setSpeedMenu.call(this);
controls.setSpeedMenu.call(this);
}
return container; return container;
}, },
+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
+3 -5
View File
@@ -5268,7 +5268,7 @@ var defaults = {
// Sprite (for icons) // Sprite (for icons)
loadSprite: true, loadSprite: true,
iconPrefix: 'plyr', iconPrefix: 'plyr',
iconUrl: 'https://cdn.plyr.io/3.0.8/plyr.svg', iconUrl: 'https://cdn.plyr.io/3.0.9/plyr.svg',
// Blank video (used to prevent errors on source change) // Blank video (used to prevent errors on source change)
blankVideo: 'https://cdn.plyr.io/static/blank.mp4', blankVideo: 'https://cdn.plyr.io/static/blank.mp4',
@@ -9171,9 +9171,7 @@ var controls = {
this.elements.controls = container; this.elements.controls = container;
if (this.isHTML5) { controls.setSpeedMenu.call(this);
controls.setSpeedMenu.call(this);
}
return container; return container;
}, },
@@ -11618,7 +11616,7 @@ var source = {
// ========================================================================== // ==========================================================================
// Plyr // Plyr
// plyr.js v3.0.8 // plyr.js v3.0.9
// https://github.com/sampotts/plyr // https://github.com/sampotts/plyr
// License: The MIT License (MIT) // License: The MIT License (MIT)
// ========================================================================== // ==========================================================================
+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.0.8", "version": "3.0.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",
"main": "./dist/plyr.js", "main": "./dist/plyr.js",
+3 -3
View File
@@ -128,7 +128,7 @@ See [initialising](#initialising) for more information on advanced setups.
If you want to use our CDN (provided by [Fastly](https://www.fastly.com/)) for the JavaScript, you can use the following: If you want to use our CDN (provided by [Fastly](https://www.fastly.com/)) for the JavaScript, you can use the following:
```html ```html
<script src="https://cdn.plyr.io/3.0.8/plyr.js"></script> <script src="https://cdn.plyr.io/3.0.9/plyr.js"></script>
``` ```
_Note_: Be sure to read the [polyfills](#polyfills) section below about browser compatibility _Note_: Be sure to read the [polyfills](#polyfills) section below about browser compatibility
@@ -144,13 +144,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.0.8/plyr.css"> <link rel="stylesheet" href="https://cdn.plyr.io/3.0.9/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.0.8/plyr.svg`. reference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/3.0.9/plyr.svg`.
## Ads ## Ads
+1 -3
View File
@@ -1177,9 +1177,7 @@ const controls = {
this.elements.controls = container; this.elements.controls = container;
if (this.isHTML5) { controls.setSpeedMenu.call(this);
controls.setSpeedMenu.call(this);
}
return container; return container;
}, },
+1 -1
View File
@@ -56,7 +56,7 @@ const defaults = {
// Sprite (for icons) // Sprite (for icons)
loadSprite: true, loadSprite: true,
iconPrefix: 'plyr', iconPrefix: 'plyr',
iconUrl: 'https://cdn.plyr.io/3.0.8/plyr.svg', iconUrl: 'https://cdn.plyr.io/3.0.9/plyr.svg',
// Blank video (used to prevent errors on source change) // Blank video (used to prevent errors on source change)
blankVideo: 'https://cdn.plyr.io/static/blank.mp4', blankVideo: 'https://cdn.plyr.io/static/blank.mp4',
+1 -1
View File
@@ -1,6 +1,6 @@
// ========================================================================== // ==========================================================================
// Plyr // Plyr
// plyr.js v3.0.8 // plyr.js v3.0.9
// 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.0.8 // plyr.js v3.0.9
// https://github.com/sampotts/plyr // https://github.com/sampotts/plyr
// License: The MIT License (MIT) // License: The MIT License (MIT)
// ========================================================================== // ==========================================================================