diff options
Diffstat (limited to 'client/src/standalone/videos/embed-api.ts')
-rw-r--r-- | client/src/standalone/videos/embed-api.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/standalone/videos/embed-api.ts b/client/src/standalone/videos/embed-api.ts index efc23a1fc..94e39ec29 100644 --- a/client/src/standalone/videos/embed-api.ts +++ b/client/src/standalone/videos/embed-api.ts | |||
@@ -50,6 +50,10 @@ export class PeerTubeEmbedApi { | |||
50 | channel.bind('setPlaybackRate', (txn, playbackRate) => this.embed.player.playbackRate(playbackRate)) | 50 | channel.bind('setPlaybackRate', (txn, playbackRate) => this.embed.player.playbackRate(playbackRate)) |
51 | channel.bind('getPlaybackRate', (txn, params) => this.embed.player.playbackRate()) | 51 | channel.bind('getPlaybackRate', (txn, params) => this.embed.player.playbackRate()) |
52 | channel.bind('getPlaybackRates', (txn, params) => this.embed.player.options_.playbackRates) | 52 | channel.bind('getPlaybackRates', (txn, params) => this.embed.player.options_.playbackRates) |
53 | |||
54 | channel.bind('playNextVideo', (txn, params) => this.embed.playNextVideo()) | ||
55 | channel.bind('playPreviousVideo', (txn, params) => this.embed.playPreviousVideo()) | ||
56 | channel.bind('getCurrentPosition', (txn, params) => this.embed.getCurrentPosition()) | ||
53 | this.channel = channel | 57 | this.channel = channel |
54 | } | 58 | } |
55 | 59 | ||