<div style="width: 480px; height: 380px;" id="page">
<a id="fms" class="player"><object width="100%" height="100%" type="application/x-shockwave-flash" data="http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf" id="fms_api"><param value="true" name="allowfullscreen"><param value="always" name="allowscriptaccess"><param value="high" name="quality"><param value="false" name="cachebusting"><param value="#000000" name="bgcolor"><param value="config={"clip":{"url":"shanttv.sdp","provider":"rtmp","live":true,"autoPlay":true},"plugins":{"rtmp":{"url":"flowplayer.rtmp-3.2.3.swf","netConnectionUrl":"rtmp://01.shanttv.cdnvideo.ru:18035/shanttv-publish"}},"playerId":"fms","playlist":[{"url":"shanttv.sdp","provider":"rtmp","live":true,"autoPlay":true}]}" name="flashvars"></object></a>
<script>
function play(){
flowplayer("fms", "http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf", {
clip: {
url: 'metacafe',
// configure clip to use influxis as our provider, it uses our rtmp plugin
provider:"rtmp",
url:"shanttv.sdp",
live:true,
autoPlay:true
},
// streaming plugins are configured under the plugins node
plugins: {
// here is our rtpm plugin configuration
rtmp: {
url: 'flowplayer.rtmp-3.2.3.swf',
// netConnectionUrl defines where the streams are found
netConnectionUrl: 'rtmp://01.shanttv.cdnvideo.ru:18035/shanttv-publish'
}
}
});
}
</script>
</div>
</html>