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
5d2fd7bb
Commit
5d2fd7bb
authored
Jun 07, 2023
by
喻天
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 视频增加—site
parent
ab2fbae1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
App.jsx
packages/base-components/VmsVideo/src/App.jsx
+3
-7
No files found.
packages/base-components/VmsVideo/src/App.jsx
View file @
5d2fd7bb
...
...
@@ -22,13 +22,9 @@ class App extends React.Component {
if
(
VideoInfo
.
url
)
{
this
.
create
(
this
.
refs
[
`myVideo`
+
VideoInfo
.
id
],
`key`
,
JessibucaObj
);
setTimeout
(()
=>
{
let
code
=
window
.
independence
?
window
.
siteCode
:
window
.
globalConfig
?.
userInfo
?.
site
||
localStorage
.
getItem
(
'token'
);
this
.
play
(
VideoInfo
.
url
+
`/
${
VideoInfo
.
dataRate
==
'Sub'
?
2
:
1
}
?Civ_Site=
${
code
}
`
,
`key`
,
);
let
code
=
window
.
independence
?
window
.
siteCode
:
window
.
globalConfig
?.
userInfo
?.
site
;
let
siteInfo
=
!
code
?
''
:
`?Civ_Site=
${
code
}
&&_site=
${
code
}
`
;
this
.
play
(
VideoInfo
.
url
+
`/
${
VideoInfo
.
dataRate
==
'Sub'
?
2
:
1
}${
siteInfo
}
`
,
`key`
);
},
10
);
}
}
...
...
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