Filters: JW Player multimedia filter

Maintained by Picture of Ruslan KabalinRuslan Kabalin, Picture of Tony ButlerTony Butler
Moodle filter that allows using JW Player for playing HTML5 and flash content, including RTMP/HLS/DASH steams.
166 sites
15 fans
Current versions available: 3

This plugin works with Moodle versions up to 3.1 and not receiving any new features. If you are using Moodle 3.2+, please install JW Player Media Plugin instead.

This a filter plugin that allows using JW Player for playing HTML5 and Flash content in Moodle1. The filter is designed to achieve consistency of the player appearance in all major browsers and mobile platforms. The player supports Flash fallback, which provides more devices and formats coverage than either HTML5 or Flash can handle alone. The filter also supports RTMP as well as HLS and MPEG-DASH streaming2.

The filter does not include JW Player libraries due to license limitations. You are supposed to make sure that JW Player libraries are available either by installing them locally, or configuring filter to use the cloud version of JW Player. In either case you need to register on JW Player website and accept terms of use. Notice, that JW Player is not free for commercial use.

To proceed with installation, please refer to plugin installation manual available here.

For more details on supported formats see reference page on JW Player website.

Please use plugin repository bug tracker for reporting issues.


1 See plugin release notes for the list of supported Moodle versions.

2 HLS and MPEG-DASH support requires paid license.

Potential privacy issues

JW Player is gathering player usage statistics, that will be available for you to view in your account page on JW Player website.


Screenshot #0
Screenshot #1


Picture of Ruslan Kabalin
Ruslan Kabalin (Lead maintainer)
Picture of Tony Butler
Tony Butler: Maintainer
Picture of Johannes Burk
Johannes Burk: Contributor
Picture of Owen Barritt
Owen Barritt: Contributor
Please login to view contributors details and/or to contact them

Comments RSS


  • Picture of Plugins bot
    Wed, Mar 25, 2015, 4:50 PM
  • Picture of David Mudrák
    Fri, Mar 27, 2015, 6:38 AM
    Thanks guys for sharing this plugin with the Moodle community. I appreciate the very clean coding-style and paying attention to details. I admit I did not have a chance to actually test the full functionality of the filter but I feel pretty confident in this case to go and approve it. You are cleared to land, welcome to the Plugins directory!
  • Picture of Ruslan Kabalin
    Sat, Mar 28, 2015, 12:44 AM
    @David, thanks for the feedback, it is a pleasure to hear! There are some minor issues which CI identified, I will fix them on master in due course.
  • Picture of Fernando Oliveira
    Tue, Apr 21, 2015, 10:49 PM
    Hello Ruslan and thanks for this plugin. Wondering if anyone has managed to remove the "jw player" watermark from the cloud-based player. Also wondering how to go about skinning the player. We purchased a license but there doesn't seem to be any way of modifying the player via the jw player website or the plugin config page. Thanks in advance.
  • Picture of Ruslan Kabalin
    Wed, Apr 22, 2015, 11:27 PM
    @Fernando, glad you like the plugin. We do not have JW Player watermark in our case, but we are using self-hosted version along with licence key. For cloud-based option, entering the account token, taken from your JW Player account page, should be sufficient to remove watermark, assuming the license you have allows that. Skins are not supported in the plugin, however adding support of standard skins is pretty easy task to do - I recorded this feature request:
  • Picture of DPaW Web
    Wed, Apr 29, 2015, 10:31 AM
    This plugin is fantastic. Is there any chance to be able to make it responsive?
    I'm trying to override with CSS but no luck so far.
  • Picture of Ruslan Kabalin
    Wed, Apr 29, 2015, 4:39 PM
    @DPaW Web Thanks, no plans to make it responsive unfortinately, the idea is to keep similar to core media player size at the moment for consistency reasons, though I will consider a pull request if respnsiveness will be an optional a plugin setting. I doubt you can do that via CSS, it is in setup parameters and only work in versions 6.3+.
  • Picture of DPaW Web
    Thu, May 7, 2015, 9:51 AM
    Thanks for the response Ruslan,

    One last thing to consider, if you know any better way to do it, is adding thumbnails.

    i'm currently doing like:
    < style > .jwuniform { background:url(/draftfile.php/2122/user/draft/5431423/Induction.jpg) no-repeat 0 0 !IMPORTANT;} < /style >
    Not ideal, and the WYSIWYG deletes the style tags every time you re-edit, but it does the jhob.

    thanks again
  • Picture of Ruslan Kabalin
    Wed, Dec 2, 2015, 11:02 PM
    @DPaW_Web FYI, plugin is now responsive and there is also a way to add "thumbnail" (you mean the image that is displayed when player is loaded?), just add a data-jwplayer-image="/draftfile.php/2122/user/draft/5431423/Induction.jpg" attribute to the media URL.
  • Picture of poorya md
    Tue, Dec 15, 2015, 3:45 AM
    I can not figure out how to use options in Jw-player.
    As I know, there must be a way to add image and/or subtitles to my player but I can not understand how!

    This is what I tried:
    And I'm sure that I'm doing it wrong! smile))

    I'm using jw-player 6 (I need older IE compatibility)
  • Picture of poorya md
    Tue, Dec 15, 2015, 3:48 AM
    my code is like:
    /--a href="" data-jwplayer-image="" data-jwplayer-subtitles="English,">Loading the player...//>
  • Picture of Owen Barritt
    Tue, Dec 15, 2015, 6:01 PM
    You want it to be as follows for the subtitles to work:

    /--a href="" data-jwplayer-image="" data-jwplayer-subtitles="English:">Loading the player...//>
    Note this only works on the JW7 Moodle 2.9 version.

    You can also set a global default poster image in the filter settings on both versions of the plugin.
  • Picture of poorya md
    Wed, Dec 16, 2015, 1:20 AM
    Thank you,
    I'm using version: 2015080401 and JW6 (We need IE compatibility) in Moodle 3.
    I inspected code for 2 versions and found that some part of codes do not exist in my version (maybe was under development)
    So, I added codes to my version:
    1- // Process data-jwplayer attributes.
    to lib.php
    2- // Prepare options.
    to filter.php
    but it seems that "// Prepare options." is not working.

    Is there any other code I have to maintain somewhere?

    I'm trying because subtitles work fine when I use JW6 independent to filter using javascript codes in my content. But we need filters!
  • Picture of Owen Barritt
    Wed, Dec 16, 2015, 1:28 AM
    The commit that added the data-jwplayer stuff for the JW7 version is here:

    There were some changes in the filter.php file necessary to make this work too.
Please login to post comments