]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/assets/player/peertube-plugin.ts
Add fixme info
[github/Chocobozzz/PeerTube.git] / client / src / assets / player / peertube-plugin.ts
index 272f5353da0048b5b015493913f90af943210d88..fd612dd4f0423a66d51992fcae8f81f9d216ecf1 100644 (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({