Maintained by GuidoGuido Hornig
Put videos from into your moodle text.

jwplayer filter CDN Video Filter 1.0 (Build: 2012122300)

Release notes


(developed with the help of phpStorm IDE) Content Delivery Network - filter for moodle2.x using content at "Bits on the run". This filter turns bitsontherun video links into signed URLs. This effectively prevents leeching. No HTML or SCRIPT tags needed.

Bits On The Run 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 video CDN service.

Use the repository

moodle_repository_botr plugin to get the links very easy from the Bits on The Run 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.


The settings need to be set in the moodle settings using the admin interface:

  • API-Secret and API-Key (provided to every user of at

  • Timeout (how long the link will remain)

  • DNS-Mask (your content can have one. If you need one, DNS mask bitsontherun 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 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, and comes without any warranty. It worked for me and my environment. Do not expect any service.

Please comment and add your solutions. I am working also on a repository.


  1. put all files into the folder moodle/filter/botr
  2. go to moodle site administration -> notification (the filter should be listed)
  3. install
  4. do the set up

Set up:

  1. go to site administration -> plugin -> filter ->botr filter
  2. add you credentials etc.
  3. 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

Moodle 2.7

Version information

Version build number
Version release name
1.0 (Build: 2012122300)
Stable version
MD5 Sum
Supported software
PHP 5.3, Moodle 2.7
  • This is the latest release for Moodle 2.7

Version control information

Version control system (VCS)
VCS repository URL

Default installation instructions for plugins of the type Filters

  1. Make sure you have all the required versions.
  2. Download and unpack the filter plugin.
  3. Place the folder (eg "myfilter") in the "filter" subdirectory.
  4. Visit to finish the installation