You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
490 B
19 lines
490 B
{
|
|
id: 'db_node_%%%NODEID%%%',
|
|
xtype: 'panel',
|
|
width: 400,
|
|
height: 400,
|
|
frame: true,
|
|
title: 'Camera %%%NODEID%%%',
|
|
items:[{
|
|
html: '<video id="hls-example" class="video-js vjs-default-skin" width="400" height="300"><source type="application/x-mpegURL" src="http://192.168.0.116:8081/d7d823703f68ba05c04efdb7474c2de5/7/hls.m3u8"></video>',
|
|
}],
|
|
listeners:{
|
|
afterrender: function(){
|
|
var player = videojs('hls-example',{
|
|
autoplay: 'muted'
|
|
});
|
|
return true;
|
|
},
|
|
}
|
|
}
|