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)
|
logger('Set player inactivity to ' + timeout)
|
||||||
}
|
}
|
||||||
|
|
||||||
private isTouchEnabled () {
|
|
||||||
return ('ontouchstart' in window) ||
|
|
||||||
navigator.maxTouchPoints > 0 ||
|
|
||||||
(navigator as any).msMaxTouchPoints > 0
|
|
||||||
}
|
|
||||||
|
|
||||||
private initCaptions () {
|
private initCaptions () {
|
||||||
for (const caption of this.videoCaptions) {
|
for (const caption of this.videoCaptions) {
|
||||||
this.player.addRemoteTextTrack({
|
this.player.addRemoteTextTrack({
|
||||||
|
|
Loading…
Reference in New Issue