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

Improve docs #694

Closed
wants to merge 10 commits into from

Use real magnet URI

Use real magnet URI to keep example working.
  • Loading branch information
FluorescentHallucinogen committed Mar 25, 2016
commit 19cd49bb81e93c36428d5ae14afd22215b270356
@@ -88,7 +88,7 @@ var fs = require('fs')
var client = new WebTorrent()
var torrentId = 'magnet:...'
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'
client.add(torrentId, function (torrent) {
torrent.files.forEach(function (file) {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.