$f("live", "http://bnu.com.br/videoads/public/player/swf/flowplayer.content-3.2.0.swf?v=1", {
key:'#$5123510f2142b068522',
// logo initially has zero opacity
logo: {
url: '/videoads/public/images/aovivobnu.png?v=1',
fullscreenOnly: false,
top: '90%',
opacity:0.0
},
onError: function(errorCode, errorMessage) {
$('#live').hide();
$('#content').html('
Câmera indisponível no momento!
');},
playlist: [
{title: 'DON PEPPONE - cortesia 15dias', url: '/videoads/public/videos/29/adversing.flv', bufferLength:4,
onBeforePause: function() {
return false;
},
onBeforeBegin: function () {
$f().getPlugin('content').setHtml("A câmera começará em segundos");
}
},
{title: 'camera', url: 'bnusc1', provider:'influxis',
onBeforeBegin: function () {
$f().getPlugin('content').hide();
$f().getPlugin("logo").fadeTo(0.9, 1000);
},
onBegin: function(){
updateStatistic();
},
onResume: function(clip) {
this.play();
}
}
],
// the rtmp plugin
plugins: {
influxis: {
url: '/videoads/public/player/swf/flowplayer.rtmp-3.2.3.swf?v=1',
netConnectionUrl: 'rtmp://as113bnu1fms.nethorizontes.tv/as113bnu1fms'
},
// "myContent" is the name of our plugin
content: {
// location of the plugin
url: 'http://bnu.com.br/videoads/public/player/swf/flowplayer.content-3.2.0.swf?v=1',
// display properties
top: 5,
width: 215,
height: 27,
backgroundColor:'transparent',
backgroundGradient: 'none',
border: 0,
// styling properties
borderRadius: 10,
// "inline" styling (overrides external stylesheet rules),
style: {
'.title': {
fontSize: 16,
fontFamily: 'verdana,arial,helvetica'
}
},
// clicking on the plugin hides it (but you can do anything)
onClick: function() {
//nothing
}
}
}
}).ipad();
time = 0;
function updateStatistic(){
//$.ajax({url:'http://bnu.com.br/videoads/public/streamming/status/update?id=&time='+time});
//time += 10;
//setTimeout(updateStatistic,10000);
}
Nenhum comentário:
Postar um comentário