aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets/player')
-rw-r--r--client/src/assets/player/peertube-videojs-plugin.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.ts
index e68d79e40..f303301d5 100644
--- a/client/src/assets/player/peertube-videojs-plugin.ts
+++ b/client/src/assets/player/peertube-videojs-plugin.ts
@@ -7,7 +7,7 @@ import { PeertubePluginOptions, VideoJSComponentInterface, videojsUntyped } from
7import { 7import {
8 getAverageBandwidth, 8 getAverageBandwidth,
9 getStoredMute, 9 getStoredMute,
10 getStoredVolume, 10 getStoredVolume, isMobile,
11 saveAverageBandwidth, 11 saveAverageBandwidth,
12 saveMuteInStore, 12 saveMuteInStore,
13 saveVolumeInStore, 13 saveVolumeInStore,
@@ -366,6 +366,8 @@ class PeerTubePlugin extends Plugin {
366 } 366 }
367 367
368 private initializePlayer () { 368 private initializePlayer () {
369 if (isMobile()) this.player.addClass('vjs-is-mobile')
370
369 this.initSmoothProgressBar() 371 this.initSmoothProgressBar()
370 372
371 this.alterInactivity() 373 this.alterInactivity()