aboutsummaryrefslogtreecommitdiffstats
path: root/readme.md
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2019-03-16 11:57:15 +1100
committerSam Potts <sam@potts.es>2019-03-16 11:57:15 +1100
commit5b7a025d26d45ed1cfe39a4774c0f81667064bb1 (patch)
tree80c729a1fee228be7d10d19f89fb7f77d4bea569 /readme.md
parent4c3bf25b8a6228b8b48a28f351df1ae2523e6d19 (diff)
downloadplyr-5b7a025d26d45ed1cfe39a4774c0f81667064bb1.tar.lz
plyr-5b7a025d26d45ed1cfe39a4774c0f81667064bb1.tar.xz
plyr-5b7a025d26d45ed1cfe39a4774c0f81667064bb1.zip
Housekeeping
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/readme.md b/readme.md
index 16190735..c6e3d745 100644
--- a/readme.md
+++ b/readme.md
@@ -296,7 +296,7 @@ Note the single quotes encapsulating the JSON and double quotes on the object ke
| `ratio` | String | `16:9` | The aspect ratio you want to use for embedded players. |
| `storage` | Object | `{ enabled: true, key: 'plyr' }` | `enabled`: Allow use of local storage to store user settings. `key`: The key name to use. |
| `speed` | Object | `{ selected: 1, options: [0.5, 0.75, 1, 1.25, 1.5, 1.75, 2] }` | `selected`: The default speed for playback. `options`: Options to display in the menu. Most browsers will refuse to play slower than 0.5. |
-| `quality` | Object | `{ default: 'default', options: ['hd2160', 'hd1440', 'hd1080', 'hd720', 'large', 'medium', 'small', 'tiny', 'default'] }` | Currently only supported by YouTube. `default` is the default quality level, determined by YouTube. `options` are the options to display. |
+| `quality` | Object | `{ default: 576, options: [4320, 2880, 2160, 1440, 1080, 720, 576, 480, 360, 240] }` | `default` is the default quality level (if it exists in your sources). `options` are the options to display. This is used to filter the available sources. |
| `loop` | Object | `{ active: false }` | `active`: Whether to loop the current video. If the `loop` attribute is present on a `<video>` or `<audio>` element, this will be automatically set to true This is an object to support future functionality. |
| `ads` | Object | `{ enabled: false, publisherId: '' }` | `enabled`: Whether to enable advertisements. `publisherId`: Your unique [vi.ai](https://vi.ai/publisher-video-monetization/?aid=plyrio) publisher ID. |
| `urls` | Object | See source. | If you wish to override any API URLs then you can do so here. You can also set a custom download URL for the download button. |