diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-05 14:16:39 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-07 08:58:29 +0200 |
commit | 9054a8b6e522dd8d46260dca85e9de94a2d806cf (patch) | |
tree | 5699e0c2853c17cbaef037eec4cb48cfbf0ec06d /client/src/standalone/videos/test-embed.html | |
parent | 2a71d286cec31964e0b70b5a7c53bfad401af554 (diff) | |
download | PeerTube-9054a8b6e522dd8d46260dca85e9de94a2d806cf.tar.gz PeerTube-9054a8b6e522dd8d46260dca85e9de94a2d806cf.tar.zst PeerTube-9054a8b6e522dd8d46260dca85e9de94a2d806cf.zip |
Handle playlist methods in embed api
Diffstat (limited to 'client/src/standalone/videos/test-embed.html')
-rw-r--r-- | client/src/standalone/videos/test-embed.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/client/src/standalone/videos/test-embed.html b/client/src/standalone/videos/test-embed.html index 9e1d6fc61..2b4918681 100644 --- a/client/src/standalone/videos/test-embed.html +++ b/client/src/standalone/videos/test-embed.html | |||
@@ -27,6 +27,8 @@ | |||
27 | <button onclick="player.seek(parseInt(prompt('Enter position to seek to (in seconds)')))">Seek</button> | 27 | <button onclick="player.seek(parseInt(prompt('Enter position to seek to (in seconds)')))">Seek</button> |
28 | <button onclick="player.setVolume(0)">Mute</button> | 28 | <button onclick="player.setVolume(0)">Mute</button> |
29 | <button onclick="player.setVolume(1)">Unmute</button> | 29 | <button onclick="player.setVolume(1)">Unmute</button> |
30 | <button onclick="player.playNextVideo()">Next video</button> | ||
31 | <button onclick="player.playPreviousVideo()">Previous video</button> | ||
30 | </div> | 32 | </div> |
31 | <br/> | 33 | <br/> |
32 | 34 | ||
@@ -52,6 +54,11 @@ | |||
52 | <legend>Volume</legend> | 54 | <legend>Volume</legend> |
53 | <div id="volume"></div> | 55 | <div id="volume"></div> |
54 | </fieldset> | 56 | </fieldset> |
57 | |||
58 | <fieldset> | ||
59 | <legend>Playlist position</legend> | ||
60 | <div id="playlist-position"></div> | ||
61 | </fieldset> | ||
55 | </div> | 62 | </div> |
56 | 63 | ||
57 | </div> | 64 | </div> |