Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[$250] Android – Sign in–Sound option is missing when Get started modal video opened to full screen #47295

Closed
1 of 6 tasks
IuliiaHerets opened this issue Aug 13, 2024 · 14 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Not a priority

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Aug 13, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 9.0.19-4
Reproducible in staging?: Y
Reproducible in production?: Y
Issue was found when executing this PR #46795
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team

Action Performed:

  1. Go to https://staging.new.expensify.com/
  2. Log in with a new Gmail account and click on Join button
  3. Complete the Onboarding flow
  4. In Get started video, note video is muted
  5. Enable video to full screen

Expected Result:

Sound option is present

Actual Result:

Sound option is missing

Workaround:

Unknown

Platforms:

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6570356_1723497177196.A_fix_update_volume_to_0.25_if_unmute_but_volume_is_0.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01a9e36c7f9220ebf4
  • Upwork Job ID: 1826259795924336728
  • Last Price Increase: 2024-08-28
Issue OwnerCurrent Issue Owner: @ikevin127
@IuliiaHerets IuliiaHerets added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Aug 13, 2024
Copy link

melvin-bot bot commented Aug 13, 2024

Triggered auto assignment to @abekkala (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@IuliiaHerets
Copy link
Author

We think that this bug might be related to #vip-vsb

@IuliiaHerets
Copy link
Author

@abekkala FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

Copy link

melvin-bot bot commented Aug 16, 2024

@abekkala Whoops! This issue is 2 days overdue. Let's get this updated quick!

Copy link

melvin-bot bot commented Aug 20, 2024

@abekkala Still overdue 6 days?! Let's take care of this!

@abekkala abekkala added the External Added to denote the issue can be worked on by a contributor label Aug 21, 2024
@melvin-bot melvin-bot bot changed the title Android – Sign in–Sound option is missing when Get started modal video opened to full screen [$250] Android – Sign in–Sound option is missing when Get started modal video opened to full screen Aug 21, 2024
Copy link

melvin-bot bot commented Aug 21, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01a9e36c7f9220ebf4

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 21, 2024
Copy link

melvin-bot bot commented Aug 21, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @ikevin127 (External)

@melvin-bot melvin-bot bot removed the Overdue label Aug 21, 2024
@ikevin127
Copy link
Contributor

ikevin127 commented Aug 23, 2024

👓 Looking for proposals (if reproducible).

@huult
Copy link
Contributor

huult commented Aug 23, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

Sound option is missing when Get started modal video opened to full screen

What is the root cause of that problem?

In full-screen mode, the video player is rendered at the system level, above any React Native components, so adding custom UI elements on top of the video can be challenging.

What changes do you think we should make in order to solve the problem?

To display custom UI components like a volume control in full-screen mode, we'll need to manage the full-screen mode manually rather than relying on presentFullscreenPlayer. This way, we maintain control over the video component and can overlay custom UI elements. Something like that:

+ <Modal visible={isFullscreen} supportedOrientations={['landscape', 'portrait']} onRequestClose={exitFullscreen}>
<Video
            ref={videoPlayerRef}
            style={[styles.w100, styles.h100, videoPlayerStyle]}
            videoStyle={[styles.w100, styles.h100, videoStyle]}
            source={{
                // if video is loading and is offline, we want to change uri to "" to
                // reset the video player after connection is back
                uri: !isLoading || (isLoading && !isOffline) ? sourceURL : '',
            }}
            shouldPlay={shouldPlay}
            useNativeControls={false}
            resizeMode={resizeMode as ResizeMode}
            isLooping={isLooping}
            onReadyForDisplay={(e) => {
                if (isCurrentlyURLSet && !isUploading) {
                    playVideo();
                }
                onVideoLoaded?.(e);
                if (shouldUseNewRate) {
                    return;
                }
                videoPlayerRef.current?.setStatusAsync?.({rate: currentPlaybackSpeed});
            }}
            onPlaybackStatusUpdate={handlePlaybackStatusUpdate}
            onFullscreenUpdate={handleFullscreenUpdate}
            volume={volume.value ? volume.value : 0}
        />
+ </Modal>

Copy link

melvin-bot bot commented Aug 26, 2024

@abekkala, @ikevin127 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@melvin-bot melvin-bot bot added the Overdue label Aug 26, 2024
@ikevin127
Copy link
Contributor

ikevin127 commented Aug 26, 2024

@huult Thank you for the proposal. I wasn't able to test your solution as the implementation is not specific enough for me to get a working prototype in order to verify whether it works. If I just wrap the Video component with the given Modal as the given DIFF specifies, the videos stop working and present an infinite loading spinner.

Can you please provide a working test branch in order for me to verify this ?

Important

I opened up a discussion on Slack about this issue and whether or not it's worth addressing this issue given that most devices have a volume / mute button. Will bump the discussion as I posted it over the weekend and it did not get any attention.

Bumped on Slack here.

@melvin-bot melvin-bot bot removed the Overdue label Aug 26, 2024
Copy link

melvin-bot bot commented Aug 27, 2024

@abekkala @ikevin127 this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

Copy link

melvin-bot bot commented Aug 28, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@abekkala
Copy link
Contributor

vsb is on hold. This is now 2 weeks old.
I'm going to label not priority and close for now

@melvin-bot melvin-bot bot removed the Overdue label Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Not a priority
Projects
None yet
Development

No branches or pull requests

4 participants