-
Notifications
You must be signed in to change notification settings - Fork 3k
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 - Chat - In android, paused video starts playing when full screen mode enabled #55965
Comments
Triggered auto assignment to @kadiealexander ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Android - Chat - In android, paused video starts playing when full screen mode enabled What is the root cause of that problem?The issue originates from PR #37674, where we handle video playback inside onReadyForDisplay. According to the Expo documentation:
This function is triggered when fullscreen mode is enabled as well, causing playVideo to be called and the video to start playing unexpectedly. What changes do you think we should make in order to solve the problem?We should handle App/src/components/VideoPlayer/BaseVideoPlayer.tsx Lines 468 to 471 in acd7a79
<Video>
//other props
....
onLoad={() => {
if (isCurrentlyURLSet && !isUploading) {
playVideo();
}
}}
</Video> What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A What alternative solutions did you explore? (Optional)N/A |
Android <> iOS bug swap |
Coming from this comment, it sounds like when rotated to full-screen, we should just leave the video paused. So the mWeb behaviour is correct.
@mountiny, @Skalakid and @eVoloshchak did you want to handle this, or leave it for External Contributors? |
I think we can handle this in a normal bug flow and export it, the original PR is old |
Job added to Upwork: https://www.upwork.com/jobs/~021885097988338548808 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
@eVoloshchak, @jliexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Bumping @eVoloshchak to review proposals please |
@eVoloshchak, @jliexpensify Eep! 4 days overdue now. Issues have feelings too... |
Bumped Eugene in Slack |
@linhvovan29546's proposal looks good to me! We have to make sure to include the tests from #37674 too, 🎀👀🎀 C+ reviewed! |
Triggered auto assignment to @mountiny, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @linhvovan29546 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@jliexpensify @mountiny @eVoloshchak FYI, while testing on web/desktop, I noticed two issues unrelated to this GitHub issue:
Steps:
NOTE: The issue occurs only on web/desktop. Details are provided in the video below. Screen.Recording.2025-02-06.at.5.19.25.PM.mov
reportID={currentReportIDValue?.currentReportID ?? report?.reportID} |
@linhvovan29546 if they exist in production can you please report in slack |
I don't have access to Slack. I can reproduce it in staging, but I think it also exists in production |
@eVoloshchak CAn you please report it in Slack instead of @linhvovan29546 ? @linhvovan29546 can you continue with the PR implementation please? |
PR is ready for review! |
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: V9.0.91-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team
Device used: Redmi note 10s android 13
App Component: Chat Report View
Action Performed:
Expected Result:
In Android, paused video must not start playing in full screen mode.
Actual Result:
In Android, paused video starts playing in full screen mode automatically but in mWeb video remains paused.
Workaround:
Unknown
Platforms:
Screenshots/Videos
bug.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @eVoloshchakThe text was updated successfully, but these errors were encountered: