Web UI for ARGUS server
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.

18 lines
490 B

6 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. {
  2. id: 'db_node_%%%NODEID%%%',
  3. xtype: 'panel',
  4. width: 400,
  5. height: 400,
  6. frame: true,
  7. title: 'Camera %%%NODEID%%%',
  8. items:[{
  9. 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>',
  10. }],
  11. listeners:{
  12. afterrender: function(){
  13. var player = videojs('hls-example',{
  14. autoplay: 'muted'
  15. });
  16. return true;
  17. },
  18. }
  19. }