aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-11-27 11:18:34 +0100
committerChocobozzz <me@florianbigard.com>2019-11-27 11:18:34 +0100
commitaedf50d142c8dce94aba6ad118b242fb826660a4 (patch)
treee0b850e51677ec1dfb5147be906e6544e1f041c5 /client
parent2a53942d9e20e8a1aa2b95ee3d166d6880cd259f (diff)
downloadPeerTube-aedf50d142c8dce94aba6ad118b242fb826660a4.tar.gz
PeerTube-aedf50d142c8dce94aba6ad118b242fb826660a4.tar.zst
PeerTube-aedf50d142c8dce94aba6ad118b242fb826660a4.zip
Fix magnet uri player copy
Diffstat (limited to 'client')
-rw-r--r--client/src/assets/player/webtorrent/webtorrent-plugin.ts4
1 files changed, 4 insertions, 0 deletions
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 {
233 return this.torrent 233 return this.torrent
234 } 234 }
235 235
236 getCurrentVideoFile () {
237 return this.currentVideoFile
238 }
239
236 private addTorrent ( 240 private addTorrent (
237 magnetOrTorrentUrl: string, 241 magnetOrTorrentUrl: string,
238 previousVideoFile: VideoFile, 242 previousVideoFile: VideoFile,