Monica视频监控处理程序
xc
2021-04-25 3377bcd85e545c541282bb2168b0783a74fbbf36
src/main/resources/public/js/live/livepler.js
@@ -1,4 +1,4 @@
!(function () {
;!(function () {
    window.onkeydown = function () {
        h5lc.fullscreen = false
    }
@@ -15,9 +15,22 @@
        "                    <span class=\"duration_timer\">00:00:00</span>\n" +
        "                </div>\n" +
        "                <div class=\"fa fa-expand expand\" onclick=\"h5lc.fullscreen=true\"></div>\n" +
        "                <div class=\"fa fa-close\" id=\"close\"></div>\n" +
        "            </div>\n" +
        "        </div>\n" +
        "    </div>");
    $("#jessibucaContainer").append(_content);
})();
    function constructLive(opt) {
        this._opt = opt;
        if (typeof opt.container === "string") {
            this._opt.container = document.getElementById(opt.container);
        }
        if (!this._opt.container) {
            throw new Error('Jessibuca need container option');
            return;
        }
}})()