Monica视频监控处理程序
xc
2021-04-29 828ee2ca38997e90bfceb922aae863f9db7034c5
src/main/resources/public/js/renderer.js
@@ -45,11 +45,11 @@
        this._opt.isDebug = opt.debug === true;
        this._opt.timeout = typeof opt.timeout === 'number' ? opt.timeout : 30;
        this._opt.supportDblclickFullscreen = opt.supportDblclickFullscreen === true;
        //this._opt.showBandwidth = opt.showBandwidth === true;
        opt.showBandwidth = true;
        this._opt.showBandwidth = opt.showBandwidth === true;
        opt.showBandwidth = false;
        this._opt.operateBtns = Object.assign({
            fullscreen: true,
            screenshot: true,
            fullscreen: false,
            screenshot: false,
            play: false,
            audio: false
        }, opt.operateBtns || {});
@@ -1357,6 +1357,7 @@
                this._trigger('fullscreen', value);
            }
            this._fullscreen = value;
            //解决在预览模式页面无法全屏情况
            if(this._fullscreen==true){
                this.resize()
            }