Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
王士厅
2024-07-25 10:57:13 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e4aff29aae1f00502fe4566d95cf90d495498ff9
e4aff29a
1 parent
46ff9fcd
fix: 沉浸式视频播放,视频A播放,下滑或上滑切其它视频,再次上滑或下滑切换视频A,修改为重播
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/pages/DetailPlayShortVideoPage.ets
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/view/PlayerProgressView.ets
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/pages/DetailPlayShortVideoPage.ets
View file @
e4aff29
...
...
@@ -118,7 +118,7 @@ export struct DetailPlayShortVideoPage {
if (!this.onlyWifiLoadVideo) {
await this.playerController.pause()
} else {
await this.playerController.p
lay()
this.playerController.resetP
lay()
await this.playerController.startRenderFrame(() => {
this.imageVisible = false
})
...
...
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/view/PlayerProgressView.ets
View file @
e4aff29
...
...
@@ -29,7 +29,9 @@ export struct PlayerProgressView {
this.showLoading = true
}
this.timer = setTimeout(() => {
if (this.playerController?.getPlayer()) {
ToastUtils.shortToast('网络出小差了,请检查下网络')
}
}, 10000)
} else {
clearTimeout(this.timer)
...
...
Please
register
or
login
to post a comment