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 enterprisesPiece 0 requested infinite times #535
Comments
This comment has been minimized.
This comment has been minimized.
|
That's odd.
|
This comment has been minimized.
This comment has been minimized.
|
@feross Latest version in the browser, now even using renderTo method. The commented image does work fine. html
head
title LiveTorrent
body
h1 Hello
//img(bt-src="685dbb1b12f2d4ab747dd4e0f78e0bdf698aa112")
video(bt-src="https://webseed.btorrent.xyz/small.mp4.torrent" controls autoplay)
script(src="bundle2.js")var client = require('webtorrent')()
elementList = document.querySelectorAll("[bt-src]")
//console.log(elementList)
for(var key in elementList) {
var element = elementList[key]
if(element && element.attributes && element.attributes['bt-src']) {
var el = element
var torrentId = element.attributes['bt-src'].nodeValue
client.add(torrentId, function(torrent) {
torrent.files[0].renderTo(el)
/*torrent.files[0].getBlobURL(function(err, url) {
el.src = url
})*/
})
}
} |
This comment has been minimized.
This comment has been minimized.
|
There's a 99% chance this a bug in |
This comment has been minimized.
This comment has been minimized.
|
Adding video https://youtu.be/PPC8QMeu9Og |
This comment has been minimized.
This comment has been minimized.
|
@DiegoRBaquero Has this issue been fixed since the new |
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
Using a webseeded small MP4 video file it gets downloaded over and over again.
'Set complete' is logged. Piece is neither verified or rejected