Skip to content

jxp4531/clappr-rtmp-plugin

 
 

Repository files navigation

clappr-rtmp-plugin

RTMP support for Clappr player

How to use

Import rtmp.min.js

<script type="text/javascript" src="http://cdn.jsdelivr.net/clappr.rtmp/0.0.6/rtmp.min.js">
</script>

and create Clappr Player adding the external plugin:

var player = new Clappr.Player({
      source: "rtmp://source_here", 
      parentId: "#player-wrapper", 
      plugins: {'playback': [RTMP]}
    );

Streams that has live on their URL will be handled as live streams. If not so, the plugin will play the source as VoD.

About

RTMP support for Clappr player

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 76.6%
  • ActionScript 17.5%
  • HTML 5.1%
  • Shell 0.8%