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-videojs-plugin.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-videojs-plugin.ts')
-rw-r--r-- | client/src/assets/player/peertube-videojs-plugin.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.ts index 65103f3ab..79df42a53 100644 --- a/client/src/assets/player/peertube-videojs-plugin.ts +++ b/client/src/assets/player/peertube-videojs-plugin.ts | |||
@@ -272,6 +272,10 @@ class PeerTubePlugin extends Plugin { | |||
272 | return this.currentVideoFile | 272 | return this.currentVideoFile |
273 | } | 273 | } |
274 | 274 | ||
275 | getTorrent () { | ||
276 | return this.torrent | ||
277 | } | ||
278 | |||
275 | private tryToPlay (done?: Function) { | 279 | private tryToPlay (done?: Function) { |
276 | if (!done) done = function () { /* empty */ } | 280 | if (!done) done = function () { /* empty */ } |
277 | 281 | ||