mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Remove unused function
This commit is contained in:
parent
ce7c099f0e
commit
49098d6bbf
@ -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…
Reference in New Issue
Block a user