diff options
Diffstat (limited to 'support/doc/api/embeds.md')
-rw-r--r-- | support/doc/api/embeds.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/support/doc/api/embeds.md b/support/doc/api/embeds.md index 1dd1443e7..fd5507e38 100644 --- a/support/doc/api/embeds.md +++ b/support/doc/api/embeds.md | |||
@@ -52,7 +52,7 @@ player.pause() | |||
52 | ## Embed URL parameters | 52 | ## Embed URL parameters |
53 | 53 | ||
54 | You can customize PeerTube player by specifying URL query parameters. | 54 | You can customize PeerTube player by specifying URL query parameters. |
55 | For example `https://my-instance.example.com/videos/embed/52a10666-3a18-4e73-93da-e8d3c12c305a??start=1s&stop=18s&loop=1&autoplay=1&muted=1&warningTitle=0&controlBar=0&peertubeLink=0&p2p=0` | 55 | For example `https://my-instance.example.com/videos/embed/52a10666-3a18-4e73-93da-e8d3c12c305a?start=1s&stop=18s&loop=1&autoplay=1&muted=1&warningTitle=0&controlBar=0&peertubeLink=0&p2p=0` |
56 | 56 | ||
57 | ### start | 57 | ### start |
58 | 58 | ||
@@ -108,6 +108,10 @@ Most web browsers disable video autoplay if the user did not interact with the v | |||
108 | 108 | ||
109 | Value must be `0` or `1`. | 109 | Value must be `0` or `1`. |
110 | 110 | ||
111 | ### playbackRate | ||
112 | |||
113 | Force the default playback rate (`0.75`, `1.5` etc). | ||
114 | |||
111 | ### title | 115 | ### title |
112 | 116 | ||
113 | Hide embed title. | 117 | Hide embed title. |
@@ -142,7 +146,7 @@ Value must be a valid color (`red` or `rgba(100, 100, 100, 0.5)`). | |||
142 | 146 | ||
143 | Force a specific player engine. | 147 | Force a specific player engine. |
144 | 148 | ||
145 | Value must be a valid mode (`webtorrent` or `p2p-media-loader`). | 149 | Value must be a valid mode (`web-video` or `p2p-media-loader`). |
146 | 150 | ||
147 | ### api | 151 | ### api |
148 | 152 | ||