Skip to content

Commit

Permalink
Minor bug fix for clicking video to play/pause after source change
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Potts committed Jan 19, 2016
1 parent fd12247 commit b9177e7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## v1.5.4
- Minor bug fix for clicking video to play/pause after source change

## v1.5.3
- Minor bug fix for occasional display of 0:00 as the media duration

## v1.5.2
- `handlers` option renamed to `listeners`
- Added event listeners for all types to the plyr container (playback, fullscreen, captions etc - see docs)
Expand Down
2 changes: 1 addition & 1 deletion dist/plyr.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plyr",
"version": "1.5.3",
"version": "1.5.4",
"description": "A simple HTML5 media player using custom controls",
"homepage": "http://plyr.io",
"main": "gulpfile.js",
Expand Down
10 changes: 5 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ If you have any cool ideas or features, please let me know by [creating an issue

Check `docs/index.html` and `docs/dist/docs.js` for an example setup.

**Heads up:** the example `index.html` file needs to be served from a webserver (such as Apache, Nginx, IIS or similar) unless you change the file sources to include http or https. e.g. change `//cdn.plyr.io/1.5.3/plyr.js` to `https://cdn.plyr.io/1.5.3/plyr.js`
**Heads up:** the example `index.html` file needs to be served from a webserver (such as Apache, Nginx, IIS or similar) unless you change the file sources to include http or https. e.g. change `//cdn.plyr.io/1.5.4/plyr.js` to `https://cdn.plyr.io/1.5.4/plyr.js`

### Bower
If bower is your thang, you can grab Plyr using:
Expand All @@ -60,11 +60,11 @@ More info is on [npm](https://www.npmjs.com/package/ember-cli-plyr) and [GitHub]
If you want to use our CDN, you can use the following:

```html
<link rel="stylesheet" href="https://cdn.plyr.io/1.5.3/plyr.css">
<script src="https://cdn.plyr.io/1.5.3/plyr.js"></script>
<link rel="stylesheet" href="https://cdn.plyr.io/1.5.4/plyr.css">
<script src="https://cdn.plyr.io/1.5.4/plyr.js"></script>
```

You can also access the `sprite.svg` file at `https://cdn.plyr.io/1.5.3/sprite.svg`.
You can also access the `sprite.svg` file at `https://cdn.plyr.io/1.5.4/sprite.svg`.

### CSS & Styling
If you want to use the default css, add the `plyr.css` file from `/dist` into your head, or even better use `plyr.less` or `plyr.sass` file included in `/src` in your build to save a request.
Expand Down Expand Up @@ -162,7 +162,7 @@ More info on CORS here:
Here's an example of a default setup:

```html
<script src="https://cdn.plyr.io/1.5.3/plyr.js"></script>
<script src="https://cdn.plyr.io/1.5.4/plyr.js"></script>
<script>plyr.setup();</script>
```

Expand Down

0 comments on commit b9177e7

Please sign in to comment.