Place the shortcode in your post, pages etc.Activate the plugin through the ‘Plugins’ menu in WordPress.Upload plugin-name.php to the /wp-content/plugins/ directory.So use a compliant client to create and seed the files like Vuze or WebTorrent Desktop. WebTorrent can only work with torrent files that supports WebTorrent/WebRTC. I’m trying to play a torrent but it does not start? Mostly when you have a lot of users for the same media content, so that they can share the streaming effort. Screenshotsįaq When you would suggest this technology? Many of them can be set globally in the plugin settings page. torrents_directory – the torrents directory relative to the upload base directory used in conjunction with the file attribute to build the url, the default is torrents.show_download_info – shows the download infos, the default is true.show_seed_leech_info – shows the seed/leech infos, the default is true.torrent_link_enabled – enables the torrent link, the default is true.The path will be the uploads directory + the torrents directory specified in the settings + the filename file – if you want to specify only the filename of the torrent to use.The webtorrent shortcode supports the following attributes: To stream a torrent to a device like AirPlay or Chromecast, just pass a flag: webtorrent magneturi -airplay. To download a torrent: webtorrent magneturi.
#Webtorrent example how to
Heres how to use it: npm install webtorrent-cli -g webtorrent -help. To use the plugin install it and then insert the shortcode in your posts and pages. WebTorrent is also available as a command line app. This technology permits to stream video using torrents reducing the server bandwith. This plugin adds WebTorrent support to WordPress.