Moodle plugins directory: Streaming media filter (RTMP) | Moodle.org
Streaming media filter (RTMP)
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.
I can't get it to work tho :^( -
with an h.264 .mp4 video optimized for streaming,
posted in my S3 bucket with a Cloudfront streaming distribution set
made public
Video works with a download distribution from same bucket using the standard Moodle media filter
but using rtmp, I receive a "201, unable to load stream or clip file ..." error.
So a url such as the following should work:
rtmp://s2d1943y7lj0jh.cloudfront.net/cfx/st/amazon-earthnetwork-final-121912.mp4?provider=acf
The updated code is in github for both the 2.3 and 2.4 versions.
https://github.com/appalachianstate/moodle-filter_rtmp
Lemme know if there are any other problems.
this is working fine in Safari and in Chrome -
but not in Firefox;
in Firefox, all I see is the text of the video file (movie.mp4) as a link,
which links to an error page,
"The address wasn't understood
Firefox doesn't know how to open this address, because the protocol (rtmp) isn't associated with any program."
An issue on my end, perhaps?