diff options
author | Chocobozzz <me@florianbigard.com> | 2023-07-13 15:49:47 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-07-17 11:31:46 +0200 |
commit | e29221f855a7135bcfb45720e3600c7401939abb (patch) | |
tree | b5c5e98e8c7f5e7c82688da891a723d1357c4a21 /client/src | |
parent | 9684bc959ecc2ec8407aaf36d054c7e000991141 (diff) | |
download | PeerTube-e29221f855a7135bcfb45720e3600c7401939abb.tar.gz PeerTube-e29221f855a7135bcfb45720e3600c7401939abb.tar.zst PeerTube-e29221f855a7135bcfb45720e3600c7401939abb.zip |
Fix e2e tests
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/assets/player/shared/peertube/peertube-plugin.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/assets/player/shared/peertube/peertube-plugin.ts b/client/src/assets/player/shared/peertube/peertube-plugin.ts index 7e5a3ebb6..c405e37e0 100644 --- a/client/src/assets/player/shared/peertube/peertube-plugin.ts +++ b/client/src/assets/player/shared/peertube/peertube-plugin.ts | |||
@@ -315,7 +315,8 @@ class PeerTubePlugin extends Plugin { | |||
315 | } | 315 | } |
316 | 316 | ||
317 | private initCaptions () { | 317 | private initCaptions () { |
318 | debugLogger('Init captions with current subtitle ' + this.currentSubtitle) | 318 | if (this.currentSubtitle) debugLogger('Init captions with current subtitle ' + this.currentSubtitle) |
319 | else debugLogger('Init captions without current subtitle') | ||
319 | 320 | ||
320 | this.player.tech(true).clearTracks('text') | 321 | this.player.tech(true).clearTracks('text') |
321 | 322 | ||