aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-08 09:36:51 +0200
committerChocobozzz <me@florianbigard.com>2020-04-08 09:36:51 +0200
commit9cdeb80650d90b80f74d6453d8f50e6855b2c819 (patch)
tree5dfad5f6b5bb6c14b59490e15d0ad1010bd831e7 /client/src/assets
parentfd69c52f8477c44ce506f5a44bc5ee394cad0ef0 (diff)
downloadPeerTube-9cdeb80650d90b80f74d6453d8f50e6855b2c819.tar.gz
PeerTube-9cdeb80650d90b80f74d6453d8f50e6855b2c819.tar.zst
PeerTube-9cdeb80650d90b80f74d6453d8f50e6855b2c819.zip
Fix videojs subtitles
Diffstat (limited to 'client/src/assets')
-rw-r--r--client/src/assets/player/peertube-player-manager.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/client/src/assets/player/peertube-player-manager.ts b/client/src/assets/player/peertube-player-manager.ts
index 8e6a4f139..6d9236a9d 100644
--- a/client/src/assets/player/peertube-player-manager.ts
+++ b/client/src/assets/player/peertube-player-manager.ts
@@ -29,9 +29,6 @@ import { RedundancyUrlManager } from './p2p-media-loader/redundancy-url-manager'
29import { getStoredP2PEnabled } from './peertube-player-local-storage' 29import { getStoredP2PEnabled } from './peertube-player-local-storage'
30import { TranslationsManager } from './translations-manager' 30import { TranslationsManager } from './translations-manager'
31 31
32// For VideoJS
33(window as any).WebVTT = require('vtt.js/lib/vtt.js').WebVTT;
34
35// Change 'Playback Rate' to 'Speed' (smaller for our settings menu) 32// Change 'Playback Rate' to 'Speed' (smaller for our settings menu)
36(videojs.getComponent('PlaybackRateMenuButton') as any).prototype.controlText_ = 'Speed' 33(videojs.getComponent('PlaybackRateMenuButton') as any).prototype.controlText_ = 'Speed'
37 34