Skip to content

Commit 8402690

Browse files
committed
chore(release): v3.8.0
1 parent 07bd87e commit 8402690

File tree

5 files changed

+21
-8
lines changed

5 files changed

+21
-8
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
### v3.8.0
4+
5+
- Add @babel/plugin-transform-nullish-coalescing-operator and @rollup/plugin-babel (#2783)
6+
- Fix #2799 -- drop recommendation of polyfill.io
7+
- Add Mux as an example in the demo (#2859)
8+
- Fixed captions when storage has been disabled (#2813)
9+
- CORS support for preview thumbnails (#2777)
10+
- fix:progress offset (#2750)
11+
- docs: fix Koel's tagline and URL (#2857)
12+
- fix: Set PIP support based on the Picture in Picture API (#2849)
13+
- docs: update the default value of iconUrl (#2734)
14+
- housekeeping: update dev deps for build etc.
15+
316
### v3.7.8
417

518
- Feat: Minor demo style tweaks

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,13 @@ See [initialising](#initializing) for more information on advanced setups.
134134
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.
135135

136136
```html
137-
<script src="https://cdn.plyr.io/3.7.8/plyr.js"></script>
137+
<script src="https://cdn.plyr.io/3.8.0/plyr.js"></script>
138138
```
139139

140140
...or...
141141

142142
```html
143-
<script src="https://cdn.plyr.io/3.7.8/plyr.polyfilled.js"></script>
143+
<script src="https://cdn.plyr.io/3.8.0/plyr.polyfilled.js"></script>
144144
```
145145

146146
## CSS
@@ -154,13 +154,13 @@ Include the `plyr.css` stylesheet into your `<head>`.
154154
If you want to use our CDN (provided by [Cloudflare](https://www.cloudflare.com/)) for the default CSS, you can use the following:
155155

156156
```html
157-
<link rel="stylesheet" href="https://cdn.plyr.io/3.7.8/plyr.css" />
157+
<link rel="stylesheet" href="https://cdn.plyr.io/3.8.0/plyr.css" />
158158
```
159159

160160
## SVG Sprite
161161

162162
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
163-
reference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/3.7.8/plyr.svg`.
163+
reference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/3.8.0/plyr.svg`.
164164

165165
### Self hosting
166166

@@ -399,7 +399,7 @@ Note the single quotes encapsulating the JSON and double quotes on the object ke
399399
| `settings` | Array | `['captions', 'quality', 'speed', 'loop']` | If the default controls are used, you can specify which settings to show in the menu |
400400
| `i18n` | Object | See [defaults.js](/src/js/config/defaults.js) | Used for internationalization (i18n) of the text within the UI. |
401401
| `loadSprite` | Boolean | `true` | Load the SVG sprite specified as the `iconUrl` option (if a URL). If `false`, it is assumed you are handling sprite loading yourself. |
402-
| `iconUrl` | String | `https://cdn.plyr.io/3.7.8/plyr.svg` | Specify a URL or path to the SVG sprite. See the [SVG section](#svg) for more info. |
402+
| `iconUrl` | String | `https://cdn.plyr.io/3.8.0/plyr.svg` | Specify a URL or path to the SVG sprite. See the [SVG section](#svg) for more info. |
403403
| `iconPrefix` | String | `plyr` | Specify the id prefix for the icons used in the default controls (e.g. "plyr-play" would be "plyr"). This is to prevent clashes if you're using your own SVG sprite but with the default controls. Most people can ignore this option. |
404404
| `blankVideo` | String | `https://cdn.plyr.io/static/blank.mp4` | Specify a URL or path to a blank video file used to properly cancel network requests. |
405405
| `autoplay`&sup2; | Boolean | `false` | Autoplay the media on load. If the `autoplay` attribute is present on a `<video>` or `<audio>` element, this will be automatically set to true. |

src/js/config/defaults.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const defaults = {
6060
// Sprite (for icons)
6161
loadSprite: true,
6262
iconPrefix: 'plyr',
63-
iconUrl: 'https://cdn.plyr.io/3.7.8/plyr.svg',
63+
iconUrl: 'https://cdn.plyr.io/3.8.0/plyr.svg',
6464

6565
// Blank video (used to prevent errors on source change)
6666
blankVideo: 'https://cdn.plyr.io/static/blank.mp4',

src/js/plyr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==========================================================================
22
// Plyr
3-
// plyr.js v3.7.8
3+
// plyr.js v3.8.0
44
// https://github.com/sampotts/plyr
55
// License: The MIT License (MIT)
66
// ==========================================================================

src/js/plyr.polyfilled.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==========================================================================
22
// Plyr Polyfilled Build
3-
// plyr.js v3.7.8
3+
// plyr.js v3.8.0
44
// https://github.com/sampotts/plyr
55
// License: The MIT License (MIT)
66
// ==========================================================================

0 commit comments

Comments
 (0)