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
Improve docs #694
Improve docs #694
Changes from 1 commit
8c6810a
59a2ecf
9c9bfc9
418b667
19cd49b
caf2ce4
5f90276
8a3cde6
8ce5dd0
155ca7b
File filter...
Jump to…
Use real magnet URI
Use real magnet URI to keep example working.
- Loading branch information
| @@ -145,7 +145,7 @@ standards (no plugins, just HTML5 and WebRTC)! It's easy to get started! | ||
| var WebTorrent = require('webtorrent') | ||
| var client = new WebTorrent() | ||
| var torrentId = '...' | ||
| var torrentId = 'magnet:?xt=urn:btih:6a9759bffd5c0af65319979fb7832189f4f3c35d&dn=sintel.mp4&tr=wss%3A%2F%2Ftracker.btorrent.xyz&tr=wss%3A%2F%2Ftracker.fastcast.nz&tr=wss%3A%2F%2Ftracker.openwebtorrent.com&tr=wss%3A%2F%2Ftracker.webtorrent.io&ws=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2Fsintel-1024-surround.mp4' | ||
FluorescentHallucinogen
Author
Contributor
|
||
| client.add(torrentId, function (torrent) { | ||
| // Got torrent metadata! | ||
That's a magnet uri. What is a torrent id ?