plyr
Advanced tools
Comparing version 1.5.9 to 1.5.10
{ | ||
"name": "plyr", | ||
"version": "1.5.9", | ||
"version": "1.5.10", | ||
"description": "A simple, accessible and customizable HTML5, YouTube and Vimeo media player", | ||
"homepage": "http://plyr.io", | ||
"main": "gulpfile.js", | ||
"main": "src/js/plyr.js", | ||
"dependencies": {}, | ||
@@ -8,0 +8,0 @@ "devDependencies": { |
@@ -43,4 +43,11 @@ # Plyr | ||
**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.9/plyr.js` to `https://cdn.plyr.io/1.5.9/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.10/plyr.js` to `https://cdn.plyr.io/1.5.10/plyr.js` | ||
### Node Package Manager (NPM) | ||
Using NPM, you can grab Plyr: | ||
``` | ||
npm install plyr | ||
``` | ||
[https://www.npmjs.com/package/plyr](https://www.npmjs.com/package/plyr) | ||
### Bower | ||
@@ -51,2 +58,4 @@ If bower is your thang, you can grab Plyr using: | ||
``` | ||
[http://bower.io/search/?q=plyr](http://bower.io/search/?q=plyr) | ||
More info on setting up dependencies can be found in the [Bower Docs](http://bower.io/docs/creating-packages/#maintaining-dependencies) | ||
@@ -65,7 +74,7 @@ | ||
```html | ||
<link rel="stylesheet" href="https://cdn.plyr.io/1.5.9/plyr.css"> | ||
<script src="https://cdn.plyr.io/1.5.9/plyr.js"></script> | ||
<link rel="stylesheet" href="https://cdn.plyr.io/1.5.10/plyr.css"> | ||
<script src="https://cdn.plyr.io/1.5.10/plyr.js"></script> | ||
``` | ||
You can also access the `sprite.svg` file at `https://cdn.plyr.io/1.5.9/sprite.svg`. | ||
You can also access the `sprite.svg` file at `https://cdn.plyr.io/1.5.10/sprite.svg`. | ||
@@ -167,3 +176,3 @@ ### CSS & Styling | ||
```html | ||
<script src="https://cdn.plyr.io/1.5.9/plyr.js"></script> | ||
<script src="https://cdn.plyr.io/1.5.10/plyr.js"></script> | ||
<script>plyr.setup();</script> | ||
@@ -170,0 +179,0 @@ ``` |
306516
835