Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Remove unused function

Chocobozzz49098d6bbf00
diff --git a/client/src/assets/player/peertube-plugin.ts b/client/src/assets/player/peertube-plugin.ts
index 272f5353da..fd612dd4f0 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 {
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({