4 ms·
Author of WebTorrent here. Sorry for surprising you with a large download. To be fair, YouTube autoplays videos too, and the video size is comparable. Good new
by feross 11y ago
Author of WebTorrent here. Sorry for surprising you with a large download. To be fair, YouTube autoplays videos too, and the video size is comparable.
Good news, though! Looks like we can use detect users on a metered connection with `navigator.connection`, or worst case look for a mobile user agent. Thanks for the feedback!
- notalaser 11y agoOr, you know, you could ask users if they want to download it :-). It seems to be done as a demo right now. Why not just add a big red "click here for a demo" thing? There are very few things that you can reliably find out over the web. Whether or not a connection is metered isn't one of them.
- rmc 11y agoOr a "The download will begin in 10 seconds. Press the pause button to stop it"
- h43k3r 11y agoEven in big cities in India people only have 1 or 2 GB per monthly limit on their broadband connection for their PCs. It would be better to use a manual approval rather than a automated detection. When I visit youtube, I know that the video is going to start immediately but that wasn't the case with this.
- Sephr 11y ago> or worst case look for a mobile user agent Please don't. There's nothing special about mobile devices that inherently makes them metered, so please do not assume this.
- ComodoHacker 11y agoCould you explain please, how can it work in Firefox with media.peerconnection.enabled=false? What exact features of WebRTC are you using?
- CyberDildonics 11y agoI don't go to youtube to read. You've got something genuinely extremely useful, but at the moment you are poisoning the well.