Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
platform
/
fanxing_new
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b5f1a8e4
authored
Jun 16, 2021
by
潘建波
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【BUG】flv播放黑屏问题解决
【BUG】新增预置位Chrome不能设置预置位编号
1 parent
7cc59b41
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
5 deletions
public/js/config.js
src/main.js
src/views/public/flvvideo.vue
src/views/sceneManage/setting/ytconfig.vue
public/js/config.js
View file @
b5f1a8e
...
@@ -2,7 +2,7 @@ window.config = {
...
@@ -2,7 +2,7 @@ window.config = {
"logstatus"
:
true
,
//是否开启日志收集
"logstatus"
:
true
,
//是否开启日志收集
"hadertitle"
:
"AI视频分析平台"
,
//系统标题
"hadertitle"
:
"AI视频分析平台"
,
//系统标题
"logintitle"
:
"AI视频分析平台"
,
//展示标题
"logintitle"
:
"AI视频分析平台"
,
//展示标题
"https"
:
tru
e
,
"https"
:
fals
e
,
"isvideo"
:
0
,
"isvideo"
:
0
,
"bigtree"
:
false
,
//大数据展示树
"bigtree"
:
false
,
//大数据展示树
"host"
:
"http://10.1.200.100:20080"
,
"host"
:
"http://10.1.200.100:20080"
,
...
@@ -12,5 +12,5 @@ window.config = {
...
@@ -12,5 +12,5 @@ window.config = {
"ddwsurl"
:
"10.1.200.97:29090"
,
"ddwsurl"
:
"10.1.200.97:29090"
,
"isdd"
:
false
,
//是否开启钉钉登录
"isdd"
:
false
,
//是否开启钉钉登录
"version"
:
"2.1.0"
,
"version"
:
"2.1.0"
,
"encrypt"
:
fals
e
,
//是否加密true采用sha1加密,false不加密
"encrypt"
:
tru
e
,
//是否加密true采用sha1加密,false不加密
}
}
src/main.js
View file @
b5f1a8e
...
@@ -11,8 +11,9 @@ import log from "./api/log";
...
@@ -11,8 +11,9 @@ import log from "./api/log";
import
"./assets/css/public.css"
;
import
"./assets/css/public.css"
;
import
echarts
from
"echarts"
;
import
echarts
from
"echarts"
;
import
"./assets/icon/icon/iconfont.css"
;
import
"./assets/icon/icon/iconfont.css"
;
import
"./assets/icon/icon3/iconfont.css"
;
import
"./assets/icon/icon4/iconfont.css"
;
import
"./assets/icon/icon4/iconfont.css"
;
import
"./assets/icon/icon3/iconfont.css"
;
import
"../src/assets/js/vporto"
;
import
"../src/assets/js/vporto"
;
import
{
buildCode
}
from
"../src/assets/js/buildcodes"
;
import
{
buildCode
}
from
"../src/assets/js/buildcodes"
;
import
particles
from
"particles.js"
;
import
particles
from
"particles.js"
;
...
...
src/views/public/flvvideo.vue
View file @
b5f1a8e
...
@@ -95,11 +95,13 @@ export default {
...
@@ -95,11 +95,13 @@ export default {
this
.
startFunc
(
this
.
cururl
);
this
.
startFunc
(
this
.
cururl
);
},
},
destoryVideo
(
flvPlayer
)
{
destoryVideo
(
flvPlayer
)
{
debugger
flvPlayer
.
pause
();
flvPlayer
.
pause
();
flvPlayer
.
unload
();
flvPlayer
.
unload
();
flvPlayer
.
detachMediaElement
();
flvPlayer
.
detachMediaElement
();
flvPlayer
.
destroy
();
flvPlayer
.
destroy
();
flvPlayer
=
null
;
flvPlayer
=
null
;
this
.
player
=
null
;
},
},
flv_pause
()
{
flv_pause
()
{
this
.
player
.
pause
();
this
.
player
.
pause
();
...
...
src/views/sceneManage/setting/ytconfig.vue
View file @
b5f1a8e
...
@@ -165,10 +165,14 @@ export default {
...
@@ -165,10 +165,14 @@ export default {
},
},
subset
()
{
subset
()
{
let
vrefid
=
this
.
vchan
.
refid
||
this
.
vchan
.
vchan_refid
;
let
vrefid
=
this
.
vchan
.
refid
||
this
.
vchan
.
vchan_refid
;
document
this
.
$emit
(
"subpostion"
,
this
.
presetindex
);
try
{
document
.
getElementById
(
"VionVideo"
)
.
getElementById
(
"VionVideo"
)
.
VionPTZControl
(
String
(
vrefid
),
Number
(
18
),
Number
(
this
.
presetindex
));
.
VionPTZControl
(
String
(
vrefid
),
Number
(
18
),
Number
(
this
.
presetindex
));
this
.
$emit
(
"subpostion"
,
this
.
presetindex
);
}
catch
(
error
)
{
console
.
log
(
error
)
}
},
},
deleteytconfig
()
{
deleteytconfig
()
{
this
.
$emit
(
"deleteytconfig"
,
this
.
presetindex
);
this
.
$emit
(
"deleteytconfig"
,
this
.
presetindex
);
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment