From 9cdeb80650d90b80f74d6453d8f50e6855b2c819 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 8 Apr 2020 09:36:51 +0200 Subject: Fix videojs subtitles --- client/src/assets/player/peertube-player-manager.ts | 3 --- 1 file changed, 3 deletions(-) (limited to 'client/src/assets/player') 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' import { getStoredP2PEnabled } from './peertube-player-local-storage' import { TranslationsManager } from './translations-manager' -// For VideoJS -(window as any).WebVTT = require('vtt.js/lib/vtt.js').WebVTT; - // Change 'Playback Rate' to 'Speed' (smaller for our settings menu) (videojs.getComponent('PlaybackRateMenuButton') as any).prototype.controlText_ = 'Speed' -- cgit v1.2.3