-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2024-04-15] [$500] iOS - Video - User needs to tap on play button twice for the video to restart #37249
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01b0749f5a1ec15cd0 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Auto-assign attempt failed, all eligible assignees are OOO. |
We think that this bug might be related to #vip-vsp |
cc @francoisl |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
ProposalPlease re-state the problem that we are trying to solve in this issue.User needs to tap on play button twice for the video to restart What is the root cause of that problem?The condition App/src/components/VideoPlayer/BaseVideoPlayer.js Lines 65 to 76 in 174a032
What changes do you think we should make in order to solve the problem?Always update the updateCurrentlyPlayingURL const togglePlayCurrentVideo = useCallback(() => {
videoResumeTryNumber.current = 0;
// Always update the currently playing URL
updateCurrentlyPlayingURL(url);
// If the video is playing, pause it
if (isPlaying) {
pauseVideo();
} else {
// If the video is not playing, play it from the beginning
playVideo();
}
}, [isPlaying, pauseVideo, playVideo, updateCurrentlyPlayingURL, url]); What alternative solutions did you explore? (Optional)N/A |
Looking at PRs today, will check this tomorrow. |
ProposalPlease re-state the problem that we are trying to solve in this issue.User needs to tap on play button twice for the video to restart on iOS / Video does not replay in full screen mode. What is the root cause of that problem?
App/src/components/VideoPlayer/BaseVideoPlayer.js Lines 99 to 119 in d4cacf7
What changes do you think we should make in order to solve the problem?- if (shouldReplayVideo(e, isVideoPlaying, currentDuration, currentPositon)) {
+ if (shouldReplayVideo(e, isPlaying, currentDuration, currentPositon)) {
videoPlayerRef.current.setStatusAsync({positionMillis: 0, shouldPlay: true});
}
Screen.Recording.2024-03-11.at.3.23.45.PM.mov |
yeah I think But before we formally accept, I want to check with @tienifr @jjcoffee It was added in this PR. Do you think it would be break anything if we remove 🎀 👀 🎀 C+ reviewed. |
Triggered auto assignment to @cead22, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.60-13 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-04-15. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Can you ask if we have one in expensify-open-source? If we don't, that's a good reason to add one imo |
Issue is ready for payment but no BZ is assigned. @MitchExpensify you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks! |
Payment Summary
BugZero Checklist (@MitchExpensify)
|
Invited you for Upwork payment here https://www.upwork.com/jobs/~0184c7f8e7c24fbbc1 @ShridharGoel |
$500 approved for @mananjadhav. |
On hold for payment, not overdue |
@MitchExpensify I've accepted the offer, thanks. |
@cead22, @mananjadhav, @ShridharGoel, @MitchExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Paid and contract ended |
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: 1.4.44-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4345661
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Pre-requisite: the user must be logged in
Expected Result:
The video should be restarted after tapping on the play button one time
Actual Result:
The user needs to tap on the play button twice for the video to restart
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6393487_1708996827803.Rpreplay_Final1708988256.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: