Código HTML:
<div>
<a style="display: block;height:375px;width:500px;background-color: #ffffff;border: solid 1px #ccc;" id="rtmp_player"><object width="100%" height="100%" id="rtmp_player_api" name="rtmp_player_api" data="http://www.conexionmaxima.com/flow/flowplayer-3.2.15.swf" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="quality" value="high"><param name="bgcolor" value="#000000"><param name="flashvars" value="config={"clip":{"url":"hostinghd","live":true,"provider":"rtmp"},"plugins":{"rtmp":{"url":"flowplayer.rtmp-3.2.11.swf","netConnectionUrl":"rtmp://autocartel.net:1935/TestVideo","subscribe":true}},"playerId":"rtmp_player","playlist":[{"url":"hostinghd","live":true,"provider":"rtmp"}]}"></object></a>
<!-- Note: the property of the above tag (rtmp_player) must match the first parameter of the script below -->
<script>
$f("rtmp_player", "flowplayer-3.2.15.swf", {
clip: {
url : 'mirtmp', //this is the name of the stream assset in the encoder
live : true, // tell flowplayer it's live
provider: 'rtmp'
},
plugins: {
rtmp: {
url: 'flowplayer.rtmp-3.2.11.swf',
netConnectionUrl: 'rtmp://mirtm:1234/canal' , //this is the rest of the URL excluding the stream name that you set in the encoder
subscribe:true //subscribe to the stream
}
}
});
</script>
</div>