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

Issue with streaming on website, but works on instant.io #1557

Closed
Kerneltroll opened this issue Dec 8, 2018 · 2 comments
Closed

Issue with streaming on website, but works on instant.io #1557

Kerneltroll opened this issue Dec 8, 2018 · 2 comments
Labels

Comments

@Kerneltroll
Copy link

@Kerneltroll Kerneltroll commented Dec 8, 2018

Currently testing a torrent i am seeding which is of a class lecture we have recorded at college, when i upload the file to instant.io it works perfectly, downloads and streams as it go's..

However, when using the examples for html, (the sintel one) my video does not work?

If i swap out the class torrent for sintel it works, where am i going wrong?

<script src="https://cdn.jsdelivr.net/webtorrent/latest/webtorrent.min.js"></script>
// Sintel, a free, Creative Commons movie
var torrentId = 'class104.torrent'

var client = new WebTorrent()

client.add(torrentId, function (torrent) {
  // Torrents can contain many files. Let's use the first.
  var file = torrent.files[0]

  // Display the file by adding it to the DOM.
  // Supports video, audio, image files, and more!
  file.appendTo('body')
})
@dannylazarow2

This comment has been minimized.

Copy link

@dannylazarow2 dannylazarow2 commented Dec 17, 2018

This issue looks related to #1556
can you check in inspector does the video have source set (src=(unknown))

@stale

This comment has been minimized.

Copy link

@stale stale bot commented Mar 17, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Mar 17, 2019
@stale stale bot closed this Mar 24, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.