Skip to content

Commit

Permalink
v3.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
sampotts committed Mar 27, 2018
1 parent 0976afe commit 951df64
Show file tree
Hide file tree
Showing 15 changed files with 18 additions and 42 deletions.
12 changes: 2 additions & 10 deletions dist/plyr.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plyr.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/plyr.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/plyr.min.js.map

Large diffs are not rendered by default.

14 changes: 3 additions & 11 deletions dist/plyr.polyfilled.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plyr.polyfilled.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/plyr.polyfilled.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/plyr.polyfilled.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plyr",
"version": "3.0.4",
"version": "3.0.5",
"description": "A simple, accessible and customizable HTML5, YouTube and Vimeo media player",
"homepage": "https://plyr.io",
"main": "./dist/plyr.js",
Expand Down
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

```html
<script src="https://cdn.plyr.io/3.0.4/plyr.js"></script>
<script src="https://cdn.plyr.io/3.0.5/plyr.js"></script>
```

_Note_: Be sure to read the [polyfills](#polyfills) section below about browser compatibility
Expand All @@ -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:

```html
<link rel="stylesheet" href="https://cdn.plyr.io/3.0.4/plyr.css">
<link rel="stylesheet" href="https://cdn.plyr.io/3.0.5/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.0.4/plyr.svg`.
reference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/3.0.5/plyr.svg`.

## Ads

Expand Down
2 changes: 1 addition & 1 deletion src/js/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const defaults = {
// Sprite (for icons)
loadSprite: true,
iconPrefix: 'plyr',
iconUrl: 'https://cdn.plyr.io/3.0.4/plyr.svg',
iconUrl: 'https://cdn.plyr.io/3.0.5/plyr.svg',

// Blank video (used to prevent errors on source change)
blankVideo: 'https://cdn.plyr.io/static/blank.mp4',
Expand Down
4 changes: 0 additions & 4 deletions src/js/fullscreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ class Fullscreen {
return;
}

console.warn(this.prefix);

// iOS native fullscreen doesn't need the request step
if (browser.isIos && this.player.config.fullscreen.iosNative) {
if (this.player.playing) {
Expand Down Expand Up @@ -202,8 +200,6 @@ class Fullscreen {

// Toggle state
toggle() {
console.warn('TOGGLE');

if (!this.active) {
this.enter();
} else {
Expand Down
2 changes: 0 additions & 2 deletions src/js/plugins/youtube.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,6 @@ const youtube = {
// Reset timer
clearInterval(player.timers.playing);

console.warn(event.data);

// Handle events
// -1 Unstarted
// 0 Ended
Expand Down
4 changes: 1 addition & 3 deletions src/js/plyr.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==========================================================================
// Plyr
// plyr.js v3.0.4
// plyr.js v3.0.5
// https://github.com/sampotts/plyr
// License: The MIT License (MIT)
// ==========================================================================
Expand Down Expand Up @@ -1019,8 +1019,6 @@ class Plyr {
// then set the timer to hide the controls
if (!show || this.playing) {
this.timers.controls = setTimeout(() => {
console.warn(this.elements.controls.pressed, this.elements.controls.hover, delay);

// If the mouse is over the controls (and not entering fullscreen), bail
if ((this.elements.controls.pressed || this.elements.controls.hover) && !isEnterFullscreen) {
return;
Expand Down
2 changes: 1 addition & 1 deletion src/js/plyr.polyfilled.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==========================================================================
// Plyr Polyfilled Build
// plyr.js v3.0.4
// plyr.js v3.0.5
// https://github.com/sampotts/plyr
// License: The MIT License (MIT)
// ==========================================================================
Expand Down

0 comments on commit 951df64

Please sign in to comment.