Description
This plugin adds WebTorrent support to WordPress.
This technology permits to stream video using torrents reducing the server bandwith. For more infos visit https://webtorrent.io
To use the plugin install it and then insert the [webtorrent] shortcode in your posts and pages. The webtorrent shortcode supports the following attributes:
- file – if you want to specify only the filename of the torrent to use. The path will be the uploads directory + the torrents directory specified in the settings + the filename
- url – the url of the torrent
- torrent_link_enabled – enables the torrent link, the default is true
- show_seed_leech_info – shows the seed/leech infos, the default is true
- show_download_info – shows the download infos, the default is true
- 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
Many of them can be set globally in the plugin settings page.
An example of a shortcode is:
[webtorrent url=”https://webtorrent.io/torrents/sintel.torrent” show_seed_leech_info=”false”]
Installation
- Upload
plugin-name.php
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Place the shortcode in your post, pages etc. [webtorrent url=”https://webtorrent.io/torrents/sintel.torrent”] or [webtorrent file=”sintel.torrent”]
FAQ
- When you would suggest this technology?
-
Mostly when you have a lot of users for the same media content, so that they can share the streaming effort.
- Can I play more videos on the same page?
-
No it’s currently not supported.
- I’m trying to play a torrent but it does not start?
-
WebTorrent can only work with torrent files that supports WebTorrent/WebRTC. So use a compliant client to create and seed the files like Vuze or WebTorrent Desktop.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“WebTorrent” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “WebTorrent” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
0.1
- First version
0.1.1
- Fixed css conflicts with the code tag
- Now it waits the document to be completely loaded before starting the plugin
- Fixed errors in the documentation
- Added one faq entry
0.1.2
- Now it’s rendered on the proper part of the page, and not at the beginning