Изменения

Песочница

655 байт убрано, 10:07, 19 июля 2011
Нет описания правки
<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={&quot;clip&quot;:{&quot;url&quot;:&quot;shanttv.sdp&quot;,&quot;provider&quot;:&quot;rtmp&quot;,&quot;live&quot;:true,&quot;autoPlay&quot;:true},&quot;plugins&quot;:{&quot;rtmp&quot;:{&quot;url&quot;:&quot;flowplayer.rtmp-3.2.3.swf&quot;,&quot;netConnectionUrl&quot;:&quot;rtmp://01.shanttv.cdnvideo.ru:18035/shanttv-publish&quot;}},&quot;playerId&quot;:&quot;fms&quot;,&quot;playlist&quot;:[{&quot;url&quot;:&quot;shanttv.sdp&quot;,&quot;provider&quot;:&quot;rtmp&quot;,&quot;live&quot;:true,&quot;autoPlay&quot;: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>
Editor, nsBadRO, nsBadRW, nsDraftRO, nsDraftRW, reviewer, администратор
40 537
правок