Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
蒋秀川
/
miniProject
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 c16b0fd5
authored
Nov 09, 2023
by
李乾广
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改bug
1 parent
48cc6bbb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
h5/src/App.vue
h5/src/components/vionPlayer/index.vue
h5/src/App.vue
View file @
c16b0fd
...
...
@@ -159,10 +159,10 @@
}
/*获取 Url 参数 S*/
import
parse
from
'url-param-parser'
;
let
url
=
'https://store.keliuyun.com/video/?userId=8840&atoken=d959778d-904f-468e-99dd-2193998ffda1&type=undefined&id=632&name=会议室门口01
&mallId=9217&mallName=河南分公司&bookmark=false&channelNo=4&deviceSerial=F16423875&gateUnid=cf21f4a8-65c6-11ee-837e-00163e143ecd&ptzEnable=0&aiChannelId=&mallOrgName=办公室&accountId=337&terminalType=devtools&newLevel='
// 萤石
// let url = 'https://store.keliuyun.com/video/?userId=8840&atoken=8eaf1373-654b-4cf2-a3c7-f90d42cba574&type=undefined&id=632&name=会议室门口
&mallId=9217&mallName=河南分公司&bookmark=false&channelNo=4&deviceSerial=F16423875&gateUnid=cf21f4a8-65c6-11ee-837e-00163e143ecd&ptzEnable=0&aiChannelId=&mallOrgName=办公室&accountId=337&terminalType=devtools&newLevel=' // 萤石
const
paramObj
=
parse
(
url
).
search
||
{}
//
const paramObj = parse(window.location.href).search || {}
//
const paramObj = parse(url).search || {}
const
paramObj
=
parse
(
window
.
location
.
href
).
search
||
{}
/********************************/
paramObj
.
name
=
paramObj
.
name
?
decodeURIComponent
(
paramObj
.
name
):
''
;
paramObj
.
mallName
=
paramObj
.
mallName
?
decodeURIComponent
(
paramObj
.
mallName
):
''
;
...
...
h5/src/components/vionPlayer/index.vue
View file @
c16b0fd
...
...
@@ -82,14 +82,14 @@ export default {
},
operateBtns
:
{
play
:
!
this
.
isXCXPage
,
audio
:
!
this
.
isXCXPag
e
,
audio
:
tru
e
,
ptz
:
this
.
showPtz
,
// 云台
zoom
:
!
this
.
isXCXPag
e
,
// 电子放大
zoom
:
tru
e
,
// 电子放大
performance
:
!
this
.
isXCXPage
,
// 视频流信息展示
record
:
!
this
.
isXCXPage
,
// 录制
scale
:
!
this
.
isXCXPage
,
// 显示模式:拉伸、缩放、正常
},
extendOperateBtns
:
this
.
isXCXPage
?[]:
[
getRotateConfig
.
call
(
this
),
getMirrorRotate
.
call
(
this
)],
extendOperateBtns
:
[
getRotateConfig
.
call
(
this
),
getMirrorRotate
.
call
(
this
)],
});
console
.
log
(
'init-options'
,
options
);
...
...
@@ -290,7 +290,7 @@ export default {
}
//
电子放大
::v-deep
(
.jessibuca-zoom-controls
)
{
display
:
none
!important
;
//
display
:
none
!important
;
}
//
云台控制
&[
data-player-type
=
"playback"
]
{
...
...
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