diff options
author | Chocobozzz <me@florianbigard.com> | 2019-12-17 11:20:24 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-12-18 10:14:22 +0100 |
commit | 3f9c4955af81702591a6eeb2069f99faf0d2814d (patch) | |
tree | 8f23b5e79bde4a46dbc2318c0500576c35712486 /client/src/standalone/videos/embed-api.ts | |
parent | f88ee4a9523bf3c4a61a45832963c558aed4d0b1 (diff) | |
download | PeerTube-3f9c4955af81702591a6eeb2069f99faf0d2814d.tar.gz PeerTube-3f9c4955af81702591a6eeb2069f99faf0d2814d.tar.zst PeerTube-3f9c4955af81702591a6eeb2069f99faf0d2814d.zip |
Speedup embed first paint
Diffstat (limited to 'client/src/standalone/videos/embed-api.ts')
-rw-r--r-- | client/src/standalone/videos/embed-api.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/client/src/standalone/videos/embed-api.ts b/client/src/standalone/videos/embed-api.ts index 169e371da..259113215 100644 --- a/client/src/standalone/videos/embed-api.ts +++ b/client/src/standalone/videos/embed-api.ts | |||
@@ -43,7 +43,6 @@ export class PeerTubeEmbedApi { | |||
43 | channel.bind('setPlaybackRate', (txn, playbackRate) => this.embed.player.playbackRate(playbackRate)) | 43 | channel.bind('setPlaybackRate', (txn, playbackRate) => this.embed.player.playbackRate(playbackRate)) |
44 | channel.bind('getPlaybackRate', (txn, params) => this.embed.player.playbackRate()) | 44 | channel.bind('getPlaybackRate', (txn, params) => this.embed.player.playbackRate()) |
45 | channel.bind('getPlaybackRates', (txn, params) => this.embed.playerOptions.playbackRates) | 45 | channel.bind('getPlaybackRates', (txn, params) => this.embed.playerOptions.playbackRates) |
46 | |||
47 | this.channel = channel | 46 | this.channel = channel |
48 | } | 47 | } |
49 | 48 | ||