Commit b5f1a8e4 by 潘建波

【BUG】flv播放黑屏问题解决

【BUG】新增预置位Chrome不能设置预置位编号
1 parent 7cc59b41
......@@ -2,7 +2,7 @@ window.config = {
"logstatus":true, //是否开启日志收集
"hadertitle":"AI视频分析平台",//系统标题
"logintitle":"AI视频分析平台",//展示标题
"https": true,
"https": false,
"isvideo":0,
"bigtree":false,//大数据展示树
"host":"http://10.1.200.100:20080",
......@@ -12,5 +12,5 @@ window.config = {
"ddwsurl":"10.1.200.97:29090",
"isdd":false, //是否开启钉钉登录
"version":"2.1.0",
"encrypt":false,//是否加密true采用sha1加密,false不加密
"encrypt":true,//是否加密true采用sha1加密,false不加密
}
......@@ -11,8 +11,9 @@ import log from "./api/log";
import "./assets/css/public.css";
import echarts from "echarts";
import "./assets/icon/icon/iconfont.css";
import "./assets/icon/icon3/iconfont.css";
import "./assets/icon/icon4/iconfont.css";
import "./assets/icon/icon3/iconfont.css";
import "../src/assets/js/vporto";
import { buildCode } from "../src/assets/js/buildcodes";
import particles from "particles.js";
......
......@@ -95,11 +95,13 @@ export default {
this.startFunc(this.cururl);
},
destoryVideo(flvPlayer) {
debugger
flvPlayer.pause();
flvPlayer.unload();
flvPlayer.detachMediaElement();
flvPlayer.destroy();
flvPlayer = null;
this.player = null;
},
flv_pause() {
this.player.pause();
......
......@@ -165,10 +165,14 @@ export default {
},
subset() {
let vrefid = this.vchan.refid || this.vchan.vchan_refid;
document
this.$emit("subpostion", this.presetindex);
try {
document
.getElementById("VionVideo")
.VionPTZControl(String(vrefid), Number(18), Number(this.presetindex));
this.$emit("subpostion", this.presetindex);
} catch (error) {
console.log(error)
}
},
deleteytconfig() {
this.$emit("deleteytconfig", this.presetindex);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!