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
wangliang_wd
2024-10-30 16:30:29 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
10d7851575d0e3f5a1672da7a6aac42fc8b2a55e
10d78515
1 parent
9726a1e2
feat:优化视频详情页转屏切换
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/pages/DetailPlayShortVideoPage.ets
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/pages/DetailPlayShortVideoPage.ets
View file @
10d7851
...
...
@@ -81,7 +81,7 @@ export struct DetailPlayShortVideoPage {
let timer = setTimeout(() => {
this.isFullScreen = this.displayDirection === DisplayDirection.VERTICAL ?false:true
clearTimeout(timer)
},
this.displayDirection === DisplayDirection.VERTICAL ?200:
0)
},
20
0)
}
/**
...
...
@@ -509,7 +509,7 @@ export struct DetailPlayShortVideoPage {
this.playerFullscreenBuilder()
}
if (this.
displayDirection === DisplayDirection.VIDEO_HORIZONTAL
&& this.index === this.currentIndex) {
if (this.
isFullScreen
&& this.index === this.currentIndex) {
PlayerFullScreenView({
playerController: this.playerController
})
...
...
Please
register
or
login
to post a comment