diff --git a/client/src/assets/player/webtorrent/webtorrent-plugin.ts b/client/src/assets/player/webtorrent/webtorrent-plugin.ts index 8b5690cea..656a32f49 100644 --- a/client/src/assets/player/webtorrent/webtorrent-plugin.ts +++ b/client/src/assets/player/webtorrent/webtorrent-plugin.ts @@ -233,6 +233,10 @@ class WebTorrentPlugin extends Plugin { return this.torrent } + getCurrentVideoFile () { + return this.currentVideoFile + } + private addTorrent ( magnetOrTorrentUrl: string, previousVideoFile: VideoFile,