aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-08 10:37:13 +0200
committerChocobozzz <me@florianbigard.com>2018-06-08 10:37:13 +0200
commit2ce2fd7f450ec7e5c00af7ee445226df7d19a880 (patch)
tree0302fbce2a891acb6396ecc99cf043aa21cbf60b /client/src/assets/player
parentff193d5e3fbe648f689be2e235dcf88daa1bba48 (diff)
downloadPeerTube-2ce2fd7f450ec7e5c00af7ee445226df7d19a880.tar.gz
PeerTube-2ce2fd7f450ec7e5c00af7ee445226df7d19a880.tar.zst
PeerTube-2ce2fd7f450ec7e5c00af7ee445226df7d19a880.zip
Improve player progress bar
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()