Merge branch 'master' of https://github.com/Selz/plyr
This commit is contained in:
commit
4effda125a
10
readme.md
10
readme.md
@ -41,13 +41,11 @@ If you have any cool ideas or features, please let me know by [creating an issue
|
|||||||
|
|
||||||
## CMS plugins
|
## CMS plugins
|
||||||
|
|
||||||
### [WordPress](https://wordpress.org)
|
### [WordPress](https://wordpress.org/plugins/plyr/)
|
||||||
Created and maintained by Ryan Anthony Drake ([@iamryandrake](https://github.com/iamryandrake))
|
Created and maintained by Ryan Anthony Drake ([@iamryandrake](https://github.com/iamryandrake))
|
||||||
[Plyr on WordPress](https://wordpress.org/plugins/plyr/)
|
|
||||||
|
|
||||||
### [Neos](https://www.neos.io/)
|
### [Neos](https://packagist.org/packages/jonnitto/plyr)
|
||||||
Created and maintained by Jon Uhlmann ([@jonnitto](https://github.com/jonnitto))
|
Created and maintained by Jon Uhlmann ([@jonnitto](https://github.com/jonnitto))
|
||||||
[Plyr.io for Neos.io](https://packagist.org/packages/jonnitto/plyr)
|
|
||||||
|
|
||||||
## Using package managers
|
## Using package managers
|
||||||
You can grab the source using one of the following package managers.
|
You can grab the source using one of the following package managers.
|
||||||
@ -142,7 +140,9 @@ The SVG sprite is loaded automatically from our CDN. To change this, see the [#o
|
|||||||
## Advanced
|
## Advanced
|
||||||
|
|
||||||
### LESS & SASS/SCSS
|
### LESS & SASS/SCSS
|
||||||
You can use `plyr.less` or `plyr.scss` file included in `/src` as part of your build and change variables to suit your design. The HTML markup uses the BEM methodology with `plyr` as the block, e.g. `.plyr__controls`. You can change the class hooks in the options to match any custom CSS you write. Check out the JavaScript source for more on this.
|
You can use `plyr.less` or `plyr.scss` file included in `/src` as part of your build and change variables to suit your design. The LESS and SASS require you to use the [autoprefixer](https://www.npmjs.com/package/gulp-autoprefixer) plugin (you should already) as all declerations use the W3C definitions - e.g. `appearance: none;` will be prefixed to `-webkit-appearance: none;` by autoprefixer.
|
||||||
|
|
||||||
|
The HTML markup uses the BEM methodology with `plyr` as the block, e.g. `.plyr__controls`. You can change the class hooks in the options to match any custom CSS you write. Check out the JavaScript source for more on this.
|
||||||
|
|
||||||
### SVG
|
### SVG
|
||||||
The icons used in the Plyr controls are loaded in an SVG sprite. The sprite is automatically loaded from our CDN by default. If you already have an icon build system in place, you can include the source plyr icons (see `/src/sprite` for source icons).
|
The icons used in the Plyr controls are loaded in an SVG sprite. The sprite is automatically loaded from our CDN by default. If you already have an icon build system in place, you can include the source plyr icons (see `/src/sprite` for source icons).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user