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 a356638e
authored
Sep 22, 2023
by
Tianqing Liu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 增加注释
1 parent
b723fb5b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
h5/src/components/vionPlayer/index.vue
h5/src/components/vionPlayer/index.vue
View file @
a356638
...
@@ -158,6 +158,7 @@ export default {
...
@@ -158,6 +158,7 @@ export default {
if
(
url
)
{
if
(
url
)
{
// 播放地址不同,则先停止再播放。地址相同,相当于暂停后,继续播放
// 播放地址不同,则先停止再播放。地址相同,相当于暂停后,继续播放
if
(
this
.
playOriginUrl
&&
this
.
playOriginUrl
!==
url
)
{
if
(
this
.
playOriginUrl
&&
this
.
playOriginUrl
!==
url
)
{
// 切换视频流地址,先销毁当前实例,再创建新实例,避免内存溢出
this
.
replay
(
url
);
this
.
replay
(
url
);
}
else
{
}
else
{
this
.
delayPlay
(
url
);
this
.
delayPlay
(
url
);
...
...
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