Filters: Streaming media filter (RTMP)

Maintained by Fred Fred Woolard, Picture of Lacey Vickery Lacey Vickery, Picture of Michelle Melton Michelle Melton
Filters URLs beginning with rtmp:// and creates a Flowplayer player using their streaming plugin.
128 sites
8 fans

The RTMP streaming media filter is used to replace links containing URLs beginning with rtmp:// with a Flowplayer media player using their rtmp plugin. It is contributed by Lacey Vickery and Fred Woolard, and Michelle Melton.

Page output is examined for anchor href values beginning with rtmp:// and ending with a supported extension (currently .mp3, .mp4, .flv, and .f4v). Qualifying links are replaced with a div tag containing 'data-' prefixed attributes that are subsequently used by the plugin's JavaScript module to apply a Flowplayer player to the div. The Adobe Flash Player browser plugin is required.

The plugin was developed to work with Adobe's Flash Media Server, but according to Flowplayer, their RTMP plugin should work with Wowza, and Red5 as well. The plugin has been tested successfully with Amazon's Cloudfront streaming service.

Playlists are supported (v1.3). See the Playlist resource plugin for more information.

Closed captions are supported (v1.4). See additional documentation.

Primitive and limited HTML5 video and audio tags are supported in v1.5 to work in conjunction with Wowza Streaming Engine's and Adobe's FMS' HLS features.


This plugin is part of set RTMP.


Screenshot #0
Screenshot #1


Fred Woolard (Lead maintainer): Author
Picture of Lacey Vickery
Lacey Vickery: Author
Picture of Michelle Melton
Michelle Melton: Author
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Kyle Belcher
    Mon, 23 Mar 2015, 11:03 PM
    I would recommend that you simply use the hosted player that jwplayer offers. All I do is embed the html code in a page and it works just fine.
  • Fred
    Tue, 24 Mar 2015, 12:01 AM
    Vasilis, if you choose to use the filter, it should accommodate Amazon's Cloudfront service, even using a signed URL. But on the JWPlayer, I can only offer the same suggestions that I've made to Kyle and others. Changing the filter to implement one player or another shouldn't be difficult, and could be done mostly in the JavaScript (module.js) file.

    Now, as for iOS devices, we wanted to provide for those as well, but didn't want deal with an alternate player. So, in the last version of the filter, it provides for emitting plain HTML5 video (and audio) tags with src URLs that are supported by the Wowza streaming engine we use, which takes care of our iPad/iPhone users.

    If Cloudfront supports HLS, then it should be a simple matter to adjust the src attribute URL (again, in the module.js file) to match what is needed. Granted, it will not be as pretty as a JavaScript skinned/tweaked player, but should work.

    Hope this helps.
  • Picture of Anderson Hsu
    Tue, 14 Jul 2015, 8:31 PM
    Dear Partner,
    How do we know the plugin of RTMP work? How do we work with address of rtmp:// ? Thank you
    (Our setting is listed as the address : )
  • Fred
    Tue, 14 Jul 2015, 10:59 PM
    Anderson, will reply with direct message.
  • Fred
    Tue, 14 Jul 2015, 11:17 PM
    Anderson, in order to use the filter_rtmp plugin, you must have a streaming server to provide the media content, for example, Wowza Streaming Engine, or Adobe Media Server. These servers supply an RTMP protocol stream that can be viewed in Adobe's Flash browser plugin. The specific URL format will depend on the which server you use, and how it is configured. Once you have a URL configured for a media item, then you put that rtmp:// URL in Moodle anywhere there is an HTML editor (atto), create a link in the text. The filter will detect the tag with an href attribute beginning with rtmp://.
  • Fred
    Tue, 14 Jul 2015, 11:19 PM
    Anderson, see additional documentation here:
  • Picture of Anderson Hsu
    Wed, 15 Jul 2015, 7:14 AM
    Is it possible to setup a stream server by using centos 6.0 ? Thank you.
  • Fred
    Tue, 21 Jul 2015, 10:29 PM
    Anderson, I believe it is possible. For instance, searching with the words 'wowza centos' on your preferred search engine site will show several how-tos for installing Wowza Streaming Engine on CentOS.
  • Picture of Will Taylor
    Fri, 6 Nov 2015, 4:54 AM
    When might we anticipate a version for Moodle 2.9+ ? This is the only add-on delaying my upgrade, it's essential to my platform (thanks so much for it).
  • Fred
    Sat, 7 Nov 2015, 2:26 AM
    Will, I'd be glad to do a test on 2.9 and if it appears to be working, I'll change the plugin entry to indicate it will work with that version. If you are in a dire rush, then In the meantime you can load in a test instance if you have one to check it also. I don't believe much has changed as far as filters go, and the lib/flowplayer files all appear to be the same as those found in the current 2.8 release.
  • Picture of Luka Torby
    Wed, 2 Dec 2015, 9:53 PM
    I've tried with Moodle 3.0 but video doesn't load . Has someone tried with pos results? Thanks
  • Picture of Will Taylor
    Sun, 10 Jan 2016, 1:56 AM
    Am still looking for a version that will work in Moodle 2.9 or perhaps even 3.0 - will these be forthcoming? Thanks for this most excellent filter.
  • Fred
    Mon, 11 Jan 2016, 8:43 PM
    Will, the updated code is on github. Sorry, I've neglected putting updates in the Moodle plugins DB. Will try to do this soon. But the code on github will work with 2.9 and 3.0. The issue is whether you're running a release from before or after Nov. 6, which is when Moodle changed the way .swf files were fetched (MDL-48085). If you're running a current release, then just use what the plugins DB page indicates is the right one for your selected version.
  • Picture of Luka Torby
    Wed, 31 May 2017, 3:58 AM
    Is there are any problem with Moodle 3.3? Please does someone try this plugin with last moodle version? some solutions?
  • Fred
    Wed, 31 May 2017, 4:10 AM
    Luka.. the versions currently on this site (XX-1.6) do not work with Moodle 3.2 and later due to the significant change of the media player code. We hope to have a new version soon that is compatible. Check back here or on our GitHub repository.
1 2 3 4
Please login to post comments