]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix magnet uri player copy
authorChocobozzz <me@florianbigard.com>
Wed, 27 Nov 2019 10:18:34 +0000 (11:18 +0100)
committerChocobozzz <me@florianbigard.com>
Wed, 27 Nov 2019 10:18:34 +0000 (11:18 +0100)
client/src/assets/player/webtorrent/webtorrent-plugin.ts

index 8b5690cea1a8509689d4cde22ff182a34dc8750f..656a32f49ac9479654afbbd57669ff50170c3009 100644 (file)
@@ -233,6 +233,10 @@ class WebTorrentPlugin extends Plugin {
     return this.torrent
   }
 
+  getCurrentVideoFile () {
+    return this.currentVideoFile
+  }
+
   private addTorrent (
     magnetOrTorrentUrl: string,
     previousVideoFile: VideoFile,