fix: update volume to 0.25 if unmute but volume is 0#46795
fix: update volume to 0.25 if unmute but volume is 0#46795cristipaval merged 3 commits intoExpensify:mainfrom
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: Native0-android.mp4Android: mWeb Chrome0-mobile-chrome.mp4iOS: Native0-ios.mp4iOS: mWeb Safari0-mobile-safari.mp4MacOS: Chrome / Safari0-web.mp4MacOS: Desktop0-desktop.mp4 |
|
@dominictb Should we treat it as muted when volume is 0? I tested following steps
Screen.Recording.2024-08-06.at.11.41.36.PM.movI found that YouTube treats volume=0 as muted. Screen.Recording.2024-08-06.at.11.42.52.PM.mov |
It is because in full-screen mode when we set the I pushed commit to fix that issue. |
|
The diffs looks good to me. I'm preparing recordings |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
This PR is failing for Android app because of issue #47295 |
|
@dominictb Can you take a look at the linked issue? |
|
@eh2077 This PR was not deployed to the staging, right? |
|
FYI I believe this was deployed to prod yesterday, from this checklist - #47219 |
| if (prevIsMutedRef.current && prevVolumeRef.current === 0 && !status.isMuted) { | ||
| updateVolume(0.25); | ||
| } |
There was a problem hiding this comment.
This line caused this issue:
#52858
More details in: #52858 (comment)
| return; | ||
| } | ||
|
|
||
| if (prevIsMutedRef.current && prevVolumeRef.current === 0 && !status.isMuted) { |
Details
Fixed Issues
$ #45277
PROPOSAL: #45277 (comment)
Tests
Verify that: the user can unmute video and video volume is 25%
Offline tests
QA Steps
Verify that: the user can unmute video and video volume is 25%
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
compressed_android.webm.mp4
Android: mWeb Chrome
compressed_androidweb.webm.mp4
iOS: Native
compressed_ios.mp4.mp4
iOS: mWeb Safari
compressed_iosweb.mp4.mp4
MacOS: Chrome / Safari
compressed_web.mov.mp4
MacOS: Desktop
compressed_web.mov.mp4