tarkanlar / clappr-rtmp-plugin

RTMP support for Clappr player

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:JavaScript 76.5%Language:ActionScript 17.5%Language:HTML 5.1%Language:Shell 0.8%