- Fix: Use `list.slash` instead of deprecated syntax
- Chore: Clean up demo
This commit is contained in:
Sam Potts
2021-12-16 20:51:31 +11:00
parent 91b19baf44
commit 0acf228dcd
6 changed files with 13 additions and 8 deletions

View File

@ -134,13 +134,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.6.9/plyr.js"></script>
<script src="https://cdn.plyr.io/3.6.10/plyr.js"></script>
```
...or...
```html
<script src="https://cdn.plyr.io/3.6.9/plyr.polyfilled.js"></script>
<script src="https://cdn.plyr.io/3.6.10/plyr.polyfilled.js"></script>
```
## CSS
@ -154,13 +154,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.6.9/plyr.css" />
<link rel="stylesheet" href="https://cdn.plyr.io/3.6.10/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.6.9/plyr.svg`.
reference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/3.6.10/plyr.svg`.
# Ads