Fixed typos
This commit is contained in:
parent
27a0ec9424
commit
722b153fcd
@ -8,7 +8,7 @@
|
||||
|
||||
## v1.0.17
|
||||
- SASS support added (thanks to @brunowego)
|
||||
- Docs completely seperated to avoid any confusion
|
||||
- Docs completely separated to avoid any confusion
|
||||
- New gulp tasks (will add more documentation for this)
|
||||
|
||||
## v1.0.16
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Controls HTML
|
||||
|
||||
This is the markup that is rendered for the Plyr controls. The reason it's a seperate option is to allow full customization of markup based on your needs. It's a pet hate of other libraries that use `<a href="#">` or `<span>`s as buttons!
|
||||
This is the markup that is rendered for the Plyr controls. The reason it's a separate option is to allow full customization of markup based on your needs. It's a pet hate of other libraries that use `<a href="#">` or `<span>`s as buttons!
|
||||
|
||||
The default Plyr setup uses a Hogan template. The reason being to allow for localization at a later date. Check out `controls.html` in `/src/templates` to get an idea of how the default html is structured. Alternatively just use the vanilla HTML below.
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
<header>
|
||||
<h1>Plyr</h1>
|
||||
<p>A simple HTML5 media player with custom controls and WebVTT captions.</p>
|
||||
<a href="https://github.com/selz/plyr" target="_blank" class="btn">Download on Github</a>
|
||||
<a href="https://github.com/selz/plyr" target="_blank" class="btn">Download on GitHub</a>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
|
@ -176,7 +176,7 @@ plyr.setup({
|
||||
<td><code>volume</code></td>
|
||||
<td>Number</td>
|
||||
<td><code>5</code></td>
|
||||
<td>A number, between 1 and 10, representing the inital volume of the player.</td>
|
||||
<td>A number, between 1 and 10, representing the initial volume of the player.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>click</code></td>
|
||||
@ -264,7 +264,7 @@ Here's a list of the methods supported:
|
||||
<tr>
|
||||
<td><code>setVolume</code></td>
|
||||
<td>Number</td>
|
||||
<td>Sets the player voume to the provided parameter. The value should be between 0 (muted) and 10 (loudest). If no parameter is provided, the default volume is used (5). Values over 10 are ignored.</td>
|
||||
<td>Sets the player volume to the provided parameter. The value should be between 0 (muted) and 10 (loudest). If no parameter is provided, the default volume is used (5). Values over 10 are ignored.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>toggleMute</code></td>
|
||||
@ -335,7 +335,7 @@ If a User Agent is disabled but supports `<video>` and `<audio>` natively, it wi
|
||||
Any unsupported browsers will display links to download the media if the correct html is used.
|
||||
|
||||
## Issues
|
||||
If you find anything weird with Plyr, please let us know using the Github issues tracker.
|
||||
If you find anything weird with Plyr, please let us know using the GitHub issues tracker.
|
||||
|
||||
## Author
|
||||
Plyr is developed by Sam Potts ([@sam_potts](https://twitter.com/sam_potts)) ([sampotts.me](http://sampotts.me))
|
||||
|
@ -306,7 +306,7 @@
|
||||
|
||||
// Volume control
|
||||
// <input[type='range']> element
|
||||
// Specificty is for bootstrap compatibility
|
||||
// Specificity is for bootstrap compatibility
|
||||
&-volume[type=range] {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
|
@ -312,7 +312,7 @@ $bp-captions-large: 768px; // When captions jump to the larger font size
|
||||
|
||||
// Volume control
|
||||
// <input[type='range']> element
|
||||
// Specificty is for bootstrap compatibility
|
||||
// Specificity is for bootstrap compatibility
|
||||
&-volume[type=range] {
|
||||
vertical-align: middle;
|
||||
-webkit-appearance: none;
|
||||
|
Loading…
x
Reference in New Issue
Block a user