Streaming media filter (RTMP)

Filters ::: filter_rtmp
Maintained by FredFred Woolard, Lacey Vickery, Michelle Melton
Part of set RTMP.
Filters URLs beginning with rtmp:// and creates a Flowplayer player using their streaming plugin.
Latest release:
42 sites
13 downloads
9 fans
Current versions available: 5

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.

Screenshots

Screenshot #0
Screenshot #1

Contributors

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

Comments RSS

Comments

  • the feather in Illusions
    Sat, 20 Apr 2013, 11:06 AM
    Can we modified the module.js and make it auto fall back to http://.../...mp4 with flowplayer?
  • Kyle Belcher
    Wed, 5 June 2013, 11:13 PM
    Hello,
    First, thanks for developing this filter. I am having trouble getting it to work. I am on Moodle 2.4.4 and have the filter installed and activated. I am using the following rtmp link in the URL resource: rtmp://broadcast.mt.gov/opd/mp4:OPD_Immigration_Training_II.f4v

    The player opens and then throws a 300 error 'Player initialization failed...Error #1023' and then when I try to click play again on the player it throws 202: The provider specified in this clip is not loaded.

    Any ideas on what I may be doing wrong?
  • Kyle Belcher
    Thu, 6 June 2013, 1:42 AM
    Actually...I found a really slick way to embed the JWPlayer with the new version 6. They offer a cloud hosted version of the player and you just embed the html code from the 'quick publish wizard' longtailvideo provides on their site.
  • Fred
    Thu, 6 June 2013, 3:29 AM
    Kyle, Have responded with direct message.
  • Fred
    Sat, 15 June 2013, 3:10 AM
    Updated 06/14/2013: Corrected way additional query str params are handled. Added support for .f4v extension. Auto-detects the Flowplayer files version.
  • Alexandre Naves
    Wed, 31 July 2013, 10:01 AM
    This filter is perfect and run correctly in my site. Now, I buy Flowplayer Commercial. Can someone help me to make changes, so that I can use the commercial version?
  • Fred
    Fri, 2 Aug 2013, 9:34 PM
    Alexandre, apologies for the delay in responding. I have little experience with Flowplayer Commercial. I will guess that they have supplied to you a customized .swf file. If that is so, then you should be able to swap out the generic .swf file in your Moodle's /lib/flowplayer directory for your customized .swf file. Hope this is helpful.
  • Fred
    Fri, 2 Aug 2013, 9:37 PM
    Alexandre, as for the combination of streams, I need to research a little. I know Flowplayer provides for this. I will be working on implementing playlists next, and this may address your needs.
  • Branko Vukasovic
    Sat, 24 May 2014, 12:01 AM
    Hello,
    I am trying to set this plugin at Moodle 2.6, but I'm having problems... It seems like HTMLPurifier is stripping out all links starting with rtmp://...
    What can I do about it?
  • Fred
    Sat, 24 May 2014, 12:20 AM
    Branko, it might seem obvious, but it is easy to overlook--first step is to verify the rtmp filter is enabled, and is configured to handled video/audio links.
  • Branko Vukasovic
    Sat, 24 May 2014, 12:45 AM
    I have already done it, event moved the Streaming media filter (RTMP) to be the first one in filter list, but it's still not working sad
  • Vasilis Kratidis
    Sat, 21 Mar 2015, 8:01 AM
    Hi all.
    We use the version 2.8 of moodle. We have our videos in s3 and we want to deliver our videos through cloudfront.
    We also want to use jw player so as not to have problem with mobile devices and specific ipad/iphones.
    Can you please provide some instructions how to go on with this procedure? As I saw you solved a lot of problems and you also tested the code.
    Thanks in advance.
  • Kyle Belcher
    Mon, 23 Mar 2015, 11:03 PM
    Vasilis,
    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.
  • Anderson Hsu
    Tue, 14 July 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 : )
Please login to post comments