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

HTML page examples #1165

Closed
Enfexia opened this issue Jul 26, 2017 · 9 comments
Closed

HTML page examples #1165

Enfexia opened this issue Jul 26, 2017 · 9 comments

Comments

@Enfexia
Copy link

@Enfexia Enfexia commented Jul 26, 2017

Hey, HTML page examples in github (https://github.com/webtorrent/webtorrent/blob/master/docs/get-started.md) doesn't work on my browser is it just me or examples have some problem?

Google Chrome | 59.0.3071.115

@Enfexia Enfexia changed the title Codepen and HTML page examples HTML page examples Jul 26, 2017
@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Jul 26, 2017

Why does it exactly "not work", do you get errors in the console?

Please be specific

@Enfexia

This comment has been minimized.

Copy link
Author

@Enfexia Enfexia commented Jul 26, 2017

I can see a player but can't watch the video.
Only error,

webtorrent.min.js:6 Uncaught (in promise) DOMException: The element has no supported sources.

ekran resmi 2017-07-26 20 17 18

@lovesingle

This comment has been minimized.

Copy link

@lovesingle lovesingle commented Aug 1, 2017

about this line code
file.appendTo('#output')
and i tried use renderTo please help me custom player with jwplayer, have any example code?
Thank all!

@lovesingle

This comment has been minimized.

Copy link

@lovesingle lovesingle commented Aug 2, 2017

How we can set url stream blob:http://localhost/xxxxxxx into file setup jwplayer?

jwplayer("myElement").setup({
  "file": "",
  "height": 360,
  "width": 640,
  "autostart": true,
  "advertising": {
        "client": "vast",
        "tag": "http://adserver.com/vastTag.xml"
    }
});

who have any good ideal for this?

@Niko-La

This comment has been minimized.

Copy link

@Niko-La Niko-La commented Dec 18, 2017

I am getting the same green screen. Video are not playing while or after downloading. Just get a green screen once fully downloaded. @feross

@Enfexia @lovesingle where you able to solve this issue?

It seems like it works in Firefox .. might be chrome /chromium issue. Considering that majority of browsers are chrome. We should try to fix it asap.

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Dec 19, 2017

Does this work for you guys? https://jsfiddle.net/x5v92uok/

@Niko-La

This comment has been minimized.

Copy link

@Niko-La Niko-La commented Dec 20, 2017

@DiegoRBaquero seem to work when i tried it with browserify on Edge and Firefox. Chrome it did not work.

Do you have another open source link for me to try? I tried a torrent link it did not work. I would like to run something like Buck Bunny Blender short.

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Dec 20, 2017

Here's the hash: 88594aaacbde40ef3e2510c47374ec0aa396c08e, it has some webrtc peers, keep in mind this is not stream-able in the browser.

Also, keep in mind that any torrent MUST be seeded by WebRTC peers for it to work in the browser

@feross feross closed this Apr 26, 2018
@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Apr 26, 2018

This issue appears stale since it has been open for a while with no activity. I'm going to close it for now. If this is still issue, please feel free to leave a comment or open a new issue.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 25, 2018
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
5 participants
You can’t perform that action at this time.