webtorrent / webtorrent

⚡️ Streaming torrent client for the web

Home Page:https://webtorrent.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webtorrent does'nt work for torrents other than the example one.

Zephyriyn opened this issue · comments

version: latest

windows 11

const element = provider.video; // HTMLVideoElement
const client = new WebTorrent()

            const torrentId = '9c464e65465e52864d80d518929f188637bb3083'
            
            client.add(torrentId, function (torrent) {
                // Torrents can contain many files. Let's use the .mp4 file
                const file = torrent.files.find(function (file) {

                    return file.name.endsWith('.mp4')
                })
                file.appendTo('body')

this doesnt work for any torrent id except the default one. but when i paste the torrent id in the desktop app it works.

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?