Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Zephyriyn opened this issue Nov 17, 2023 · 1 comment
Closed

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

Zephyriyn opened this issue Nov 17, 2023 · 1 comment
Labels

Comments

@Zephyriyn
Copy link

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.

Copy link

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

@github-actions github-actions bot added the stale label Jan 17, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant