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