diff options
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 | ||