diff options
author | Sam Potts <sam@potts.es> | 2018-07-30 23:09:12 +1000 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2018-07-30 23:09:12 +1000 |
commit | dae272ef66a967ed23a2fe48cf68b0273349b89e (patch) | |
tree | 96d88efe747478262e9ac02c775e7b62f3162157 /readme.md | |
parent | 599b33e55fb4c0aec78cd0895bcd13f3fed12ad2 (diff) | |
parent | 2679c5898edd534d19b5b2f68d895641c3e3fb1a (diff) | |
download | plyr-dae272ef66a967ed23a2fe48cf68b0273349b89e.tar.lz plyr-dae272ef66a967ed23a2fe48cf68b0273349b89e.tar.xz plyr-dae272ef66a967ed23a2fe48cf68b0273349b89e.zip |
Merge branch 'develop' into a11y-improvements
# Conflicts:
# demo/dist/demo.css
# dist/plyr.css
# dist/plyr.js.map
# dist/plyr.min.js
# dist/plyr.min.js.map
# dist/plyr.polyfilled.js.map
# dist/plyr.polyfilled.min.js
# dist/plyr.polyfilled.min.js.map
# package.json
# src/js/plyr.js
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -80,7 +80,7 @@ Plyr extends upon the standard [HTML5 media element](https://developer.mozilla.o </audio> ``` -For YouTube and Vimeo players, Plyr uses progressive enhancement to enhance the default `<iframe>` embeds. Below are some examples. The `plyr__video-embed` classname will make the embed responsive. You can add the `autoplay`, `loop` and `playsinline` (YouTube only) query parameters to the URL and they will be set as config options automatically. For YouTube, the `origin` should be updated to reflect the domain you're hosting the embed on, or you can opt to omit it. +For YouTube and Vimeo players, Plyr uses progressive enhancement to enhance the default `<iframe>` embeds. Below are some examples. The `plyr__video-embed` classname will make the embed responsive. You can add the `autoplay`, `loop`, `hl` (YouTube only) and `playsinline` (YouTube only) query parameters to the URL and they will be set as config options automatically. For YouTube, the `origin` should be updated to reflect the domain you're hosting the embed on, or you can opt to omit it. #### YouTube embed @@ -132,13 +132,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.3.22/plyr.js"></script> +<script src="https://cdn.plyr.io/3.3.23/plyr.js"></script> ``` ...or... ```html -<script src="https://cdn.plyr.io/3.3.22/plyr.polyfilled.js"></script> +<script src="https://cdn.plyr.io/3.3.23/plyr.polyfilled.js"></script> ``` ### CSS @@ -152,13 +152,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.3.22/plyr.css"> +<link rel="stylesheet" href="https://cdn.plyr.io/3.3.23/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.3.22/plyr.svg`. +reference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/3.3.23/plyr.svg`. ## Ads |