Go to Top

Coloquio 2

<script type=’text/javascript’ src=’http://www.cua.uam.mx/jwplayer.js‘></script>
<script type=”text/javascript”>

var uAg = navigator.userAgent.toLowerCase();
var isMobile = !!uAg.match(/android/i);

if (isMobile){jwplayer(‘mediaplayer’).setup({
‘id’: ‘playerID’,
‘width’: ‘480’,
‘height’: ‘270’,
‘provider’: ‘rtmp’,
‘streamer’: ‘rtmp://148.206.191.16/rtmplive/live/‘,
‘file’: ‘server’,
‘image’: ‘http://example.com/thumbs/sintel.jpg‘,
‘modes’: [

{ type: ‘download’,
config: {levels: [{‘file’: ‘rtsp://148.206.191.16/rtsplive/rtmplive/live/server’}],
‘provider’: ‘video’
}
}
] });

var t;
var timer=1;
jwplayer().onIdle(function() {
t=setTimeout(“jwplayer().play()”,timer);
});

}
else {

jwplayer(‘mediaplayer’).setup({
‘id’: ‘playerID’,
‘width’: ‘640’,
‘height’: ‘360’,
‘autostart’:’true’,
‘provider’: ‘rtmp’,
‘streamer’: ‘rtmp://148.206.191.16/rtmplive/live/‘,
‘file’: ‘server’,
‘image’: ‘http://example.com/thumbs/sintel.jpg‘,
‘modes’: [

{type: ‘flash’, src: ‘http://148.206.191.16/player.swf’},

{
type: ‘html5’,
config: {

‘file’: ‘http://148.206.191.16/m3ugen/rtmplive/live/server‘,
‘provider’: ‘video’
}
},

{ type: ‘download’,
config: {levels: [{‘file’:’rtsp://148.206.191.16/rtsplive/rtmplive/live/server’}],
‘provider’: ‘video’
}
}

] });

var t;
var timer=1;
jwplayer().onIdle(function() {
t=setTimeout(“jwplayer().play()”,timer);
});

}
</script>

</body>
</html>

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *