WIP on new controls creation

This commit is contained in:
Sam Potts 2017-03-26 21:32:41 +11:00
parent ca12343b16
commit 684107da5c
4 changed files with 661 additions and 493 deletions

4
dist/plyr.js vendored

File diff suppressed because one or more lines are too long

View File

@ -16,3 +16,11 @@
#### Bugs
- Fix audio setup bug when calling .setup() again
#### Breaking changes
- Custom controls HTML removed (temporarily, will return)
- Selectors changes (new `input` and `display` object) - DOCUMENT
## Added
- Seek i8n label
- Loop i8n labels

View File

@ -368,24 +368,12 @@ Note the single quotes encapsulating the JSON and double quotes on the object ke
<td><code>true</code></td>
<td>Displays the duration of the media on the "metadataloaded" event (on startup) in the current time display. This will only work if the `preload` attribute is not set to `none` (or is not set at all) and you choose not to display the duration (see <code>controls</code> option).</td>
</tr>
<tr>
<td><code>selectors</code></td>
<td>Object</td>
<td>&mdash;</td>
<td>See <code>plyr.js</code> in <code>/src</code> for more info. You probably don't need to change any of these.</td>
</tr>
<tr>
<td><code>listeners</code></td>
<td>Object</td>
<td>&mdash;</td>
<td>Allows early binding of event listeners to the controls. See <code>controls</code> above for list of controls and see <code>plyr.js</code> in <code>/src</code> for more info.</td>
</tr>
<tr>
<td><code>classes</code></td>
<td>Object</td>
<td>&mdash;</td>
<td>Similar to above, these are the classes added to the player when state changes occur.</td>
</tr>
<tr>
<td><code>captions</code></td>
<td>Object</td>

File diff suppressed because it is too large Load Diff