{ xtype: 'panel', html: '
', plr: null, listeners:{ afterrender: function( t ){ t.plr = videojs.getPlayer('hls-%%%HLSID%%%'); if( t.plr == null ){ t.plr = videojs('hls-%%%HLSID%%%',{ autoplay: 'muted', controls: true, controlBar: { volumePanel: false, playToggle: false, pictureInPictureToggle: false } }); }; %%%HLSOFFSET%%% t.plr.src({type: 'application/x-mpegURL', src: '%%%HLSSRC%%%'}); return true; }, destroy: function( t ){ if( t.plr != null ) t.plr.dispose(); t.plr = null; } } }