jwplayer filter CDN Video Filter
Content Delivery Network - filter for moodle3.7 using content at "JWPlayer" (formerly "Bits on the run"). This filter turns JWPlayer video links into signed URLs. This effectively prevents leeching. No HTML or SCRIPT tags needed.
JWPlayer is a comercial video CDN service and offers free professional CDN for everybody. This makes it very attractive for teachers and schools to put large size content there instead of loading videos to the moodle data server.
[botr 2lje3kQV] with default player (see settings)
[botr 2lje3kQV-g3rjbt3f] with individual player (see settings)
These plain text links can be inserted into any text (page, forum, quiz etc.) in moodle, that is filtered. A link will be translated into a singed link to the external resource at jwplayer.com video CDN service.
Use the moodle_repository_botr https://github.com/actXc/moodle_repository_botr plugin to get the links very easy from the JWPlayer platform.
Option: signed links with timeout
If a timeout is specified, a link can not be used longer than the timeout defines. If the link is stolen, if becomes useless after a while. This does not protect you video from beeing screen copied, but it makes it really difficult to reuse the link some where else.
##Settings The settings need to be set in the moodle settings using the admin interface:
API-Secret and API-Key (provided to every user of jwplayer.com (at API-dashboard)
Timeout (how long the link will remain)
DNS-Mask (your content can have one. If you need one, DNS mask contentserver to serve feeds, players, thumbs and videos under your own domain. To make this work, set a CNAME record in your domain DNS settings. Contact your hosting provider.
- default player (create a player in Player-dashboard and add the code here to play every video with the same player, or add a player-code individual to a link.)
The filter was created by Guido Hornig, http://actXcellence.de and comes without any warranty. It worked for me and my environment. Do not expect any service.
- put all files into the folder moodle/filter/botr
- go to moodle site administration -> notification (the filter should be listed)
- do the set up
- go to site administration -> plugin -> filter ->botr filter
- add you credentials etc.
- enable the filter where it is needed, by default the botr filter is disabled. You can change this under Plugins > Filters. The plugin in can be activated for every entity or for a whole course etc.
Report your experience here.