fbpx
2024-11-27 08:04:02

Transmisión en vivo

{source} <script type="text/javascript"> $(document).ready(function() { $.getJSON('http://audio.grupolatinoderadio.com/wms/jsonbalancerMC.aspx?emi=MXEVENTVIDEO2&callback=?', function(data) { var myWidth = 640; var myHeight = 365; if (data.levels.length == 0) { data.levels = [{ file: data.stream, width: myWidth}]; } else { for (var i = 0; i < data.levels.length; i++) { data.levels[i].width = myWidth; } } jwplayer("playerObject").setup({ provider: 'rtmp', streamer: 'rtmp://' + data.server + '/' […]

abril 28, 2024

{source}
<script type="text/javascript">
$(document).ready(function() {
$.getJSON('http://audio.grupolatinoderadio.com/wms/jsonbalancerMC.aspx?emi=MXEVENTVIDEO2&callback=?', function(data) {

var myWidth = 640;
var myHeight = 365;
if (data.levels.length == 0) {
data.levels = [{ file: data.stream, width: myWidth}];
}
else {

for (var i = 0; i < data.levels.length; i++) {
data.levels[i].width = myWidth;
}
}
jwplayer("playerObject").setup({
provider: 'rtmp',
streamer: 'rtmp://' + data.server + '/' + data.punto + '/',
levels: data.levels,
height: myHeight,
width: myWidth,
controlbar: 'over',
autostart: true,
abouttext: 'W Radio',
aboutlink: '/',
bufferlength: data.buffer,
modes: [

{ type: 'flash', src: '/jwplayer/player.swf' },
{ type: 'html5',
config: {
'file': 'http://' + data.server + ':1935/' + data.punto + '/' + data.stream + '/playlist.m3u8',
'provider': 'video',
'autostart': 'true'
}
}

]
});
});
});
</script>

{/source}

abril 28, 2024