Compare commits

...

2 Commits

Author SHA1 Message Date
851c39d44e chore(release): 3.7.6 2023-03-10 12:38:52 +11:00
f012a7df36 fix: revert postinstall script change 2023-03-10 12:36:06 +11:00
6 changed files with 13 additions and 10 deletions

View File

@ -1,3 +1,7 @@
### v3.7.6
- Fix: Revert postinstall script
### v3.7.5 ### v3.7.5
- Fix: Replace `pnpm` with `npm` in scripts to fix build issues - Fix: Replace `pnpm` with `npm` in scripts to fix build issues

View File

@ -137,13 +137,13 @@ See [initialising](#initializing) for more information on advanced setups.
You can use our CDN (provided by [Cloudflare](https://www.cloudflare.com/)) for the JavaScript. There's 2 versions; one with and one without [polyfills](#polyfills). My recommendation would be to manage polyfills separately as part of your application but to make life easier you can use the polyfilled build. You can use our CDN (provided by [Cloudflare](https://www.cloudflare.com/)) for the JavaScript. There's 2 versions; one with and one without [polyfills](#polyfills). My recommendation would be to manage polyfills separately 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.7.5/plyr.js"></script> <script src="https://cdn.plyr.io/3.7.6/plyr.js"></script>
``` ```
...or... ...or...
```html ```html
<script src="https://cdn.plyr.io/3.7.5/plyr.polyfilled.js"></script> <script src="https://cdn.plyr.io/3.7.6/plyr.polyfilled.js"></script>
``` ```
## CSS ## CSS
@ -157,13 +157,13 @@ Include the `plyr.css` stylesheet into your `<head>`.
If you want to use our CDN (provided by [Cloudflare](https://www.cloudflare.com/)) for the default CSS, you can use the following: If you want to use our CDN (provided by [Cloudflare](https://www.cloudflare.com/)) for the default CSS, you can use the following:
```html ```html
<link rel="stylesheet" href="https://cdn.plyr.io/3.7.5/plyr.css" /> <link rel="stylesheet" href="https://cdn.plyr.io/3.7.6/plyr.css" />
``` ```
## SVG Sprite ## SVG Sprite
The SVG sprite is loaded automatically from our CDN (provided by [Cloudflare](https://www.cloudflare.com/)). To change this, see the [options](#options) below. For The SVG sprite is loaded automatically from our CDN (provided by [Cloudflare](https://www.cloudflare.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.7.5/plyr.svg`. reference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/3.7.6/plyr.svg`.
### Self hosting ### Self hosting
@ -171,7 +171,7 @@ If you don't want to create a build system to include Plyr as an npm module, you
- Download the files from the CDN links above, they're already minified. - Download the files from the CDN links above, they're already minified.
- Download the files from [unpkg](https://unpkg.com/browse/plyr/dist/) or similar services. - Download the files from [unpkg](https://unpkg.com/browse/plyr/dist/) or similar services.
- Build the project yourself using `pnpm i`, which installs the dependencies and spits out a build to `dist`. - Build the project yourself using `npm i && npm run build`, which installs the dependencies and spits out a build to `dist`.
# Ads # Ads

View File

@ -1,6 +1,6 @@
{ {
"name": "plyr", "name": "plyr",
"version": "3.7.5", "version": "3.7.6",
"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>",
@ -30,7 +30,6 @@
}, },
"browserslist": "> 1%", "browserslist": "> 1%",
"scripts": { "scripts": {
"postinstall": "npm run build",
"build": "gulp build", "build": "gulp build",
"lint": "eslint src/js && npm run remark && stylelint **/*.scss", "lint": "eslint src/js && npm run remark && stylelint **/*.scss",
"lint:fix": "eslint --fix src/js && stylelint **/*.scss --fix", "lint:fix": "eslint --fix src/js && stylelint **/*.scss --fix",

View File

@ -60,7 +60,7 @@ const defaults = {
// Sprite (for icons) // Sprite (for icons)
loadSprite: true, loadSprite: true,
iconPrefix: 'plyr', iconPrefix: 'plyr',
iconUrl: 'https://cdn.plyr.io/3.7.5/plyr.svg', iconUrl: 'https://cdn.plyr.io/3.7.6/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',

View File

@ -1,6 +1,6 @@
// ========================================================================== // ==========================================================================
// Plyr // Plyr
// plyr.js v3.7.5 // plyr.js v3.7.6
// https://github.com/sampotts/plyr // https://github.com/sampotts/plyr
// License: The MIT License (MIT) // License: The MIT License (MIT)
// ========================================================================== // ==========================================================================

View File

@ -1,6 +1,6 @@
// ========================================================================== // ==========================================================================
// Plyr Polyfilled Build // Plyr Polyfilled Build
// plyr.js v3.7.5 // plyr.js v3.7.6
// https://github.com/sampotts/plyr // https://github.com/sampotts/plyr
// License: The MIT License (MIT) // License: The MIT License (MIT)
// ========================================================================== // ==========================================================================