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
wuyanan
2024-08-19 18:13:19 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7d53f562d939489c79d419ff546875eb22e3e1dc
7d53f562
1 parent
b25903a1
fix |> 修复缺陷18180:后台选择的是竖屏流,实际流画面是横屏,展示样式和安卓保持一致
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/vertical/PlayerComponent.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/vertical/PlayerComponent.ets
View file @
7d53f56
...
...
@@ -56,6 +56,11 @@ export struct PlayerComponent {
this.playerController.onVideoSizePlayerComponentBack = (width: number, height: number) => {
if(width>height){
this.isLarge = false
if(this.liveStreamType == 1) { ///后台选择的是竖屏流,实际流画面是横屏,展示样式和安卓保持一致
this.isLarge = true
this.playerController?.setScaleMode(AliScaleMode.SCALE_ASPECT_FILL)
return
}
if(width > 2){
this.liveStreamType = 0
}
...
...
Please
register
or
login
to post a comment