aboutsummaryrefslogtreecommitdiffstats
path: root/readme.md
diff options
context:
space:
mode:
authorSam <me@sampotts.me>2016-06-09 11:05:07 +0100
committerSam <me@sampotts.me>2016-06-09 11:05:07 +0100
commitc7d28b09c0acd79fa6370023f0c1f1938b033d24 (patch)
tree9327aaa6c2c40789c4cbc4ca05a0765c2aa81321 /readme.md
parent161dd48312d3a66c0b21255467155fe3196ca67e (diff)
downloadplyr-c7d28b09c0acd79fa6370023f0c1f1938b033d24.tar.lz
plyr-c7d28b09c0acd79fa6370023f0c1f1938b033d24.tar.xz
plyr-c7d28b09c0acd79fa6370023f0c1f1938b033d24.zip
Fixed event bubbling
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/readme.md b/readme.md
index e637afcf..fb35476b 100644
--- a/readme.md
+++ b/readme.md
@@ -113,7 +113,7 @@ Include the `plyr.js` script before the closing `</body>` tag and then call `ply
If you want to use our CDN for the JavaScript, you can use the following:
```html
-<script src="https://cdn.plyr.io/1.8.1/plyr.js"></script>
+<script src="https://cdn.plyr.io/1.8.2/plyr.js"></script>
```
### CSS
@@ -126,11 +126,11 @@ Include the `plyr.css` stylsheet into your `<head>`
If you want to use our CDN for the default CSS, you can use the following:
```html
-<link rel="stylesheet" href="https://cdn.plyr.io/1.8.1/plyr.css">
+<link rel="stylesheet" href="https://cdn.plyr.io/1.8.2/plyr.css">
```
### SVG Sprite
-The SVG sprite is loaded automatically from our CDN. To change this, see the [#options](Options) below. For reference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/1.8.1/plyr.svg`.
+The SVG sprite is loaded automatically from our CDN. To change this, see the [#options](Options) below. For reference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/1.8.2/plyr.svg`.
## Advanced
@@ -785,6 +785,8 @@ document.querySelector('.js-plyr').addEventListener('ready', function(event) {
});
```
+These events also bubble up the DOM.
+
## Embeds
YouTube and Vimeo are currently supported and function much like a HTML5 video. Check the relevant documentation sections for any differences.