0.2.2 • Published 6 years ago
magnet-protocolhandler v0.2.2
magnet-protocolhandler
A protocol handler for magnet urls using the protocolloadfallbackhandler & webtorrent projects:
- https://github.com/webtorrent/webtorrent
- https://github.com/Daniel-Abrecht/protocolloadfallbackhandler
Examples
Here are some examples on how to use this library. You'll see, you can just use the magnet uri like any other url, thanks to the protocolloadfallbackhandler library.
- Various ways to load an image or video: https://jsfiddle.net/kqv92nhw/
- Using the Afterglow Player: https://jsfiddle.net/fhmqess3/3/
- Using the JW Player https://jsfiddle.net/dr2ctgym/6/