Browse Source

Remove unused function

pull/4724/head
Chocobozzz 6 days ago
parent
commit
49098d6bbf
No known key found for this signature in database GPG Key ID: 583A612D890159BE
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      client/src/assets/player/peertube-plugin.ts

+ 0
- 6
client/src/assets/player/peertube-plugin.ts View File

@@ -252,12 +252,6 @@ class PeerTubePlugin extends Plugin {
logger('Set player inactivity to ' + timeout)
}

private isTouchEnabled () {
return ('ontouchstart' in window) ||
navigator.maxTouchPoints > 0 ||
(navigator as any).msMaxTouchPoints > 0
}

private initCaptions () {
for (const caption of this.videoCaptions) {
this.player.addRemoteTextTrack({


Loading…
Cancel
Save