Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-components
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
wisdom-components
Commits
c9549c76
Commit
c9549c76
authored
May 18, 2023
by
刘梦焕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 萤石协议视频配置宽高
parent
2125f9e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
demo.tsx
packages/base-components/VideoSliderModal/src/demos/demo.tsx
+0
-6
index.js
packages/base-components/VideoSliderModal/src/index.js
+4
-1
No files found.
packages/base-components/VideoSliderModal/src/demos/demo.tsx
View file @
c9549c76
...
@@ -26,8 +26,6 @@ const Demo = () => {
...
@@ -26,8 +26,6 @@ const Demo = () => {
dataRate
:
'Sub'
,
// Main 主码流 Sub 子码流
dataRate
:
'Sub'
,
// Main 主码流 Sub 子码流
pandavmsHost
:
`ws://192.168.8.30:7000/`
,
// pandavms后端主机地址 eg: ws://172.16.19.19:8080/
pandavmsHost
:
`ws://192.168.8.30:7000/`
,
// pandavms后端主机地址 eg: ws://172.16.19.19:8080/
address
:
'236644034'
,
address
:
'236644034'
,
width
:
1000
,
height
:
500
,
},
},
{
{
id
:
'339B3B67-A7AE-45B2-89B7-227619A88A01'
,
// 398993BB-A795-4237-BE75-B6A7EC9D675
id
:
'339B3B67-A7AE-45B2-89B7-227619A88A01'
,
// 398993BB-A795-4237-BE75-B6A7EC9D675
...
@@ -38,8 +36,6 @@ const Demo = () => {
...
@@ -38,8 +36,6 @@ const Demo = () => {
dataRate
:
'Sub'
,
// Main 主码流 Sub 子码流
dataRate
:
'Sub'
,
// Main 主码流 Sub 子码流
pandavmsHost
:
`ws://192.168.8.30:7000/`
,
// pandavms后端主机地址 eg: ws://172.16.19.19:8080/
pandavmsHost
:
`ws://192.168.8.30:7000/`
,
// pandavms后端主机地址 eg: ws://172.16.19.19:8080/
address
:
'236644034'
,
address
:
'236644034'
,
width
:
1000
,
height
:
500
,
},
},
{
{
id
:
'972DF430-2E69-4960-86E2-C1D336B85280'
,
// 398993BB-A795-4237-BE75-B6A7EC9D675
id
:
'972DF430-2E69-4960-86E2-C1D336B85280'
,
// 398993BB-A795-4237-BE75-B6A7EC9D675
...
@@ -50,8 +46,6 @@ const Demo = () => {
...
@@ -50,8 +46,6 @@ const Demo = () => {
dataRate
:
'Sub'
,
// Main 主码流 Sub 子码流
dataRate
:
'Sub'
,
// Main 主码流 Sub 子码流
pandavmsHost
:
`ws://192.168.8.30:7000/`
,
// pandavms后端主机地址 eg: ws://172.16.19.19:8080/
pandavmsHost
:
`ws://192.168.8.30:7000/`
,
// pandavms后端主机地址 eg: ws://172.16.19.19:8080/
address
:
'236644034'
,
address
:
'236644034'
,
width
:
1000
,
height
:
500
,
},
},
];
];
...
...
packages/base-components/VideoSliderModal/src/index.js
View file @
c9549c76
...
@@ -68,7 +68,10 @@ const VideoSliderModal = (props) => {
...
@@ -68,7 +68,10 @@ const VideoSliderModal = (props) => {
<
div
className
=
{
styles
[
'swiper-wrap'
]}
>
<
div
className
=
{
styles
[
'swiper-wrap'
]}
>
<
div
className
=
{
styles
[
'swiper-title'
]}
>
{
item
.
name
}
<
/div
>
<
div
className
=
{
styles
[
'swiper-title'
]}
>
{
item
.
name
}
<
/div
>
<
div
className
=
{
styles
[
'swiper-content'
]}
>
<
div
className
=
{
styles
[
'swiper-content'
]}
>
<
VmsVideo
VideoInfo
=
{
item
}
JessibucaObj
=
{
JessibucaObj
}
/
>
<
VmsVideo
VideoInfo
=
{{
...
item
,
width
:
modalInfo
?.
width
??
1000
,
height
:
500
}}
JessibucaObj
=
{
JessibucaObj
}
/
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/SwiperSlide
>
<
/SwiperSlide
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment