Skip to content

Commit

Permalink
Deployed v3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sampotts committed Feb 18, 2019
1 parent 44d3a17 commit 80990c9
Show file tree
Hide file tree
Showing 21 changed files with 26 additions and 28 deletions.
2 changes: 1 addition & 1 deletion demo/dist/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -7564,7 +7564,7 @@ typeof navigator === "object" && (function () {
// Sprite (for icons)
loadSprite: true,
iconPrefix: 'plyr',
iconUrl: 'https://cdn.plyr.io/3.5.0-beta.5/plyr.svg',
iconUrl: 'https://cdn.plyr.io/3.5.0/plyr.svg',
// Blank video (used to prevent errors on source change)
blankVideo: 'https://cdn.plyr.io/static/blank.mp4',
// Quality default
Expand Down
2 changes: 1 addition & 1 deletion demo/dist/demo.min.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/plyr.js
Original file line number Diff line number Diff line change
Expand Up @@ -3479,7 +3479,7 @@ typeof navigator === "object" && (function (global, factory) {
// Sprite (for icons)
loadSprite: true,
iconPrefix: 'plyr',
iconUrl: 'https://cdn.plyr.io/3.5.0-beta.5/plyr.svg',
iconUrl: 'https://cdn.plyr.io/3.5.0/plyr.svg',
// Blank video (used to prevent errors on source change)
blankVideo: 'https://cdn.plyr.io/static/blank.mp4',
// Quality default
Expand Down
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.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/plyr.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3473,7 +3473,7 @@ var defaults$1 = {
// Sprite (for icons)
loadSprite: true,
iconPrefix: 'plyr',
iconUrl: 'https://cdn.plyr.io/3.5.0-beta.5/plyr.svg',
iconUrl: 'https://cdn.plyr.io/3.5.0/plyr.svg',
// Blank video (used to prevent errors on source change)
blankVideo: 'https://cdn.plyr.io/static/blank.mp4',
// Quality default
Expand Down
2 changes: 1 addition & 1 deletion dist/plyr.polyfilled.js
Original file line number Diff line number Diff line change
Expand Up @@ -6545,7 +6545,7 @@ typeof navigator === "object" && (function (global, factory) {
// Sprite (for icons)
loadSprite: true,
iconPrefix: 'plyr',
iconUrl: 'https://cdn.plyr.io/3.5.0-beta.5/plyr.svg',
iconUrl: 'https://cdn.plyr.io/3.5.0/plyr.svg',
// Blank video (used to prevent errors on source change)
blankVideo: 'https://cdn.plyr.io/static/blank.mp4',
// Quality default
Expand Down
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 dist/plyr.polyfilled.min.mjs

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/plyr.polyfilled.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6539,7 +6539,7 @@ var defaults$1 = {
// Sprite (for icons)
loadSprite: true,
iconPrefix: 'plyr',
iconUrl: 'https://cdn.plyr.io/3.5.0-beta.5/plyr.svg',
iconUrl: 'https://cdn.plyr.io/3.5.0/plyr.svg',
// Blank video (used to prevent errors on source change)
blankVideo: 'https://cdn.plyr.io/static/blank.mp4',
// Quality default
Expand Down
8 changes: 3 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ const paths = {
path.join(__dirname, 'dist/*.svg'),
path.join(__dirname, `demo/dist/*${minSuffix}.*`),
path.join(__dirname, 'demo/dist/*.css'),
path.join(__dirname, 'demo/dist/*.svg'),
],
};

Expand Down Expand Up @@ -139,10 +140,7 @@ gulp.task('clean', done => {
done();
});

// JAvaScript

const namespace = 'Plyr';

// JavaScript
Object.entries(build.js).forEach(([filename, entry]) => {
entry.formats.forEach(format => {
const name = `js:${filename}:${format}`;
Expand All @@ -161,7 +159,7 @@ Object.entries(build.js).forEach(([filename, entry]) => {
plugins: [resolve(), commonjs(), babel(babelrc(polyfill))],
},
{
name: namespace,
name: entry.namespace,
// exports: 'named',
format,
},
Expand Down
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.5.0-beta.5",
"version": "3.5.0",
"description": "A simple, accessible and customizable HTML5, YouTube and Vimeo media player",
"homepage": "https://plyr.io",
"author": "Sam Potts <[email protected]>",
Expand Down
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,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.0-beta.5/plyr.js"></script>
<script src="https://cdn.plyr.io/3.5.0/plyr.js"></script>
```

...or...

```html
<script src="https://cdn.plyr.io/3.5.0-beta.5/plyr.polyfilled.js"></script>
<script src="https://cdn.plyr.io/3.5.0/plyr.polyfilled.js"></script>
```

## CSS
Expand All @@ -143,13 +143,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.0-beta.5/plyr.css" />
<link rel="stylesheet" href="https://cdn.plyr.io/3.5.0/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.0-beta.5/plyr.svg`.
reference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/3.5.0/plyr.svg`.

# Ads

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

// Blank video (used to prevent errors on source change)
blankVideo: 'https://cdn.plyr.io/static/blank.mp4',
Expand Down
2 changes: 1 addition & 1 deletion src/js/plyr.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==========================================================================
// Plyr
// plyr.js v3.5.0-beta.5
// plyr.js v3.5.0
// https://github.com/sampotts/plyr
// License: The MIT License (MIT)
// ==========================================================================
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.5.0-beta.5
// plyr.js v3.5.0
// https://github.com/sampotts/plyr
// License: The MIT License (MIT)
// ==========================================================================
Expand Down

0 comments on commit 80990c9

Please sign in to comment.