From aedf50d142c8dce94aba6ad118b242fb826660a4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 27 Nov 2019 11:18:34 +0100 Subject: [PATCH] Fix magnet uri player copy --- client/src/assets/player/webtorrent/webtorrent-plugin.ts | 4 ++++ 1 file changed, 4 insertions(+) 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, -- 2.41.0