diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-31 09:51:51 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-31 09:51:51 +0200 |
commit | 77728efa627527a9f0f27010a597e8984d7a27f8 (patch) | |
tree | 487c4b5e90bba172b2d23499605f72f2cf28f207 /client/src/assets/player/peertube-player.ts | |
parent | 0bf1f2652382089c06434a7d297b638aad778b52 (diff) | |
download | PeerTube-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.ts | 12 |
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' | |||
9 | import './settings-menu-button' | 9 | import './settings-menu-button' |
10 | import './webtorrent-info-button' | 10 | import './webtorrent-info-button' |
11 | import './peertube-videojs-plugin' | 11 | import './peertube-videojs-plugin' |
12 | import './peertube-load-progress-bar' | ||
12 | import { videojsUntyped } from './peertube-videojs-typings' | 13 | import { videojsUntyped } from './peertube-videojs-typings' |
13 | import { buildVideoEmbed, buildVideoLink, copyToClipboard } from './utils' | 14 | import { 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 | ||