Monica视频监控处理程序
xc
2021-04-23 b01721ab8a824f4a144ce55a8de6767bbe3f5d0a
直播流组件 init
2 files modified
18 ■■■■ changed files
src/main/resources/public/css/controles.css 2 ●●● patch | view | raw | blame | history
src/main/resources/public/js/live/livepler.js 16 ●●●● patch | view | raw | blame | history
src/main/resources/public/css/controles.css
@@ -31,7 +31,7 @@
    border-radius: 10px;
    left: 60%;
    bottom: -10px;
    transform: translateX(-50%);
    transform: translateX(-48%);
}
.player .control div{
    display: inline-block;
src/main/resources/public/js/live/livepler.js
@@ -1,4 +1,4 @@
!(function () {
;!(function () {
    window.onkeydown = function () {
        h5lc.fullscreen = false
    }
@@ -20,4 +20,16 @@
        "    </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;
        }
}})()