diff options
author | Chocobozzz <me@florianbigard.com> | 2022-01-14 11:33:05 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-01-14 11:33:05 +0100 |
commit | 49098d6bbf00daf6aec002ff387c189cdfbd5834 (patch) | |
tree | 0d2c6c732fbe67fe482d010eebe705734d0a2324 /client/src | |
parent | ce7c099f0e36f00d88f7082dd7e158197d3146dd (diff) | |
download | PeerTube-49098d6bbf00daf6aec002ff387c189cdfbd5834.tar.gz PeerTube-49098d6bbf00daf6aec002ff387c189cdfbd5834.tar.zst PeerTube-49098d6bbf00daf6aec002ff387c189cdfbd5834.zip |
Remove unused function
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/assets/player/peertube-plugin.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/client/src/assets/player/peertube-plugin.ts b/client/src/assets/player/peertube-plugin.ts index 272f5353d..fd612dd4f 100644 --- a/client/src/assets/player/peertube-plugin.ts +++ b/client/src/assets/player/peertube-plugin.ts | |||
@@ -252,12 +252,6 @@ class PeerTubePlugin extends Plugin { | |||
252 | logger('Set player inactivity to ' + timeout) | 252 | logger('Set player inactivity to ' + timeout) |
253 | } | 253 | } |
254 | 254 | ||
255 | private isTouchEnabled () { | ||
256 | return ('ontouchstart' in window) || | ||
257 | navigator.maxTouchPoints > 0 || | ||
258 | (navigator as any).msMaxTouchPoints > 0 | ||
259 | } | ||
260 | |||
261 | private initCaptions () { | 255 | private initCaptions () { |
262 | for (const caption of this.videoCaptions) { | 256 | for (const caption of this.videoCaptions) { |
263 | this.player.addRemoteTextTrack({ | 257 | this.player.addRemoteTextTrack({ |