1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 09:49:20 +02:00

Speedup embed first paint

This commit is contained in:
Chocobozzz 2019-12-17 11:20:24 +01:00
parent f88ee4a952
commit 3f9c4955af
No known key found for this signature in database
GPG key ID: 583A612D890159BE
8 changed files with 117 additions and 66 deletions

View file

@ -43,7 +43,6 @@ export class PeerTubeEmbedApi {
channel.bind('setPlaybackRate', (txn, playbackRate) => this.embed.player.playbackRate(playbackRate))
channel.bind('getPlaybackRate', (txn, params) => this.embed.player.playbackRate())
channel.bind('getPlaybackRates', (txn, params) => this.embed.playerOptions.playbackRates)
this.channel = channel
}