aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/peertube-player.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-31 09:51:51 +0200
committerChocobozzz <me@florianbigard.com>2018-05-31 09:51:51 +0200
commit77728efa627527a9f0f27010a597e8984d7a27f8 (patch)
tree487c4b5e90bba172b2d23499605f72f2cf28f207 /client/src/assets/player/peertube-player.ts
parent0bf1f2652382089c06434a7d297b638aad778b52 (diff)
downloadPeerTube-77728efa627527a9f0f27010a597e8984d7a27f8.tar.gz
PeerTube-77728efa627527a9f0f27010a597e8984d7a27f8.tar.zst
PeerTube-77728efa627527a9f0f27010a597e8984d7a27f8.zip
Fix player progress bar
Diffstat (limited to 'client/src/assets/player/peertube-player.ts')
-rw-r--r--client/src/assets/player/peertube-player.ts12
1 files changed, 11 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-player.ts b/client/src/assets/player/peertube-player.ts
index 9fe5af569..d204b9703 100644
--- a/client/src/assets/player/peertube-player.ts
+++ b/client/src/assets/player/peertube-player.ts
@@ -9,6 +9,7 @@ import './resolution-menu-button'
9import './settings-menu-button' 9import './settings-menu-button'
10import './webtorrent-info-button' 10import './webtorrent-info-button'
11import './peertube-videojs-plugin' 11import './peertube-videojs-plugin'
12import './peertube-load-progress-bar'
12import { videojsUntyped } from './peertube-videojs-typings' 13import { videojsUntyped } from './peertube-videojs-typings'
13import { buildVideoEmbed, buildVideoLink, copyToClipboard } from './utils' 14import { buildVideoEmbed, buildVideoLink, copyToClipboard } from './utils'
14 15
@@ -94,7 +95,16 @@ function getControlBarChildren (options: {
94 'liveDisplay': {}, 95 'liveDisplay': {},
95 96
96 'flexibleWidthSpacer': {}, 97 'flexibleWidthSpacer': {},
97 'progressControl': {}, 98 'progressControl': {
99 children: {
100 'seekBar': {
101 children: {
102 'peerTubeLoadProgressBar': {},
103 'playProgressBar': {}
104 }
105 }
106 }
107 },
98 108
99 'webTorrentButton': {}, 109 'webTorrentButton': {},
100 110