Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix magnet uri player copy

Chocobozzzaedf50d142c8
diff --git a/client/src/assets/player/webtorrent/webtorrent-plugin.ts b/client/src/assets/player/webtorrent/webtorrent-plugin.ts
index 8b5690cea1..656a32f49a 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,