]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/assets/player/webtorrent/webtorrent-plugin.ts
Fix magnet uri player copy
[github/Chocobozzz/PeerTube.git] / 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,