Track tasks and feature requests
Join 40 million developers who use GitHub issues to help identify, assign, and keep track of the features and bug fixes your projects need.
Sign up for free See pricing for teams and enterprisesCan't run video streaming example with standalone webtorrent.min.js #275
Comments
This comment has been minimized.
This comment has been minimized.
|
You can't just paste in any random magnet uri or .torrent file! In the browser, WebTorrent can only download torrents that are explicitly seeded to the WebTorrent network. Desktop torrent clients need to support WebRTC to peer with web browsers. Currently, no clients support it but you can use http://instant.io/ to seed torrents to the WebTorrent network. |
This comment has been minimized.
This comment has been minimized.
|
This question has been asked about a dozen times already, so I'm starting an FAQ: https://github.com/feross/webtorrent/wiki/FAQ |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Trying to run example from main page
Tried different magnet uri's but console.log(client.torrents[0].files); always returns empty array.
I can get info hash from console.log and it shows all data, but files array is always empty and because of that video element isn't created
But i can open magnet uri and stream to vlc player from console using webtorrent download "magnet:?......" --vlc
Why browser code with webtorrent.min.js does not see any files in torrent files to stream ?