-
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
[HOLD for payment 2024-06-03] [$250] Playback speed is not displayed correctly in video player #40646
Comments
Triggered auto assignment to @stephanieelliott ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.We have two problems in this issue
Expected Result: Second
Expected Result: What is the root cause of that problem?First
Second App/src/components/VideoPlayerContexts/VideoPopoverMenuContext.tsx Lines 22 to 27 in 8616678
What changes do you think we should make in order to solve the problem?First
Second
Add below part here And also add
App/src/components/VideoPlayer/BaseVideoPlayer.tsx Lines 94 to 95 in 8616678
What alternative solutions did you explore? (Optional)If we want change currently playing video when opening popover menu:
|
📣 @KMichel1030! 📣
|
Job added to Upwork: https://www.upwork.com/jobs/~01648564b9cecf0115 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary ( |
Upwork job price has been updated to $150 |
Reduced price as I consider this a low-priority bug. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Playback speed is not displayed correctly in video player What is the root cause of that problem?We use one context to display playback speed for all videos. And the currentPlaybackSpeed updates there only when the select speed for some video What changes do you think we should make in order to solve the problem?We should update
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Playback speed is not displayed correctly in video player - When a video's playback speed is changed, it is meant to reset when a different video is played but doesn't. What is the root cause of that problem?We are using a context manager to handle the playback speed for the videos. The issue is when the context manager handles changing the video displayed, it does not reset the video player configuration. In this case, the playback speed What changes do you think we should make in order to solve the problem?The simplest solution here would be to reset the playback speed anytime the video changes. This can be archived by adding an
What alternative solutions did you explore? (Optional)An alternate and more robust solution would be to have a mapped state of playback speeds linked to video URLs opened on the player. Here's what the mapper variable would look like What this does is, it helps the application remember and attach different playback speeds to different videos. Thereby, creating a smoother user experience with the player. If a video has never been played, it has the default playback speed, but if it was changed before it will be remembered and set regardless of how many other videos you played after. |
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Contributor details |
|
I sent a request message to your slack email, but no reponse yet. |
Taking over this as C+ per this discussion https://expensify.enterprise.slack.com/archives/C02NK2DQWUX/p1713787155736399 Cc @ntdiary |
@blimpich I want to confirm the expected behavior here, if we change playback speed of |
I would expect it to be 0.25 |
A friendly reminder for @shahinyan11 and @KMichel1030: please make sure you both follow the contributing guidelines here. Otherwise, your proposal will be hidden and not reviewed. @KMichel1030, I noticed you updated your proposal a couple of times right after @shahinyan11 posted his proposal. Your proposal also didn't elaborate on how to implement |
@Pycomet can you elaborate more about your alternative proposal and how to implement it? Also a demo video will be really helpful. Thank you 😄 |
I'm back from OOO, thanks for watching this while I was out @bfitzexpensify! This PR is under active review! |
All conflicts are resolved, the PR is just waiting on an approving review. |
Seems like we hit a snag with testing on some platforms, see the PR for discussion on that |
PR merged to main, should hit staging next deploy |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.75-1 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-06-03. 🎊 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:
|
Hi, @stephanieelliott |
Hey @hungvu193 can you please complete the BZ checklist? @KMichel1030 yes, you can be paid today! I extended an offer to you on Upwork, can you please let me know once you've accepted? Once you do I will issue payment ASAP |
@stephanieelliott |
Summarizing payment on this issue:
Upwork job is here: https://www.upwork.com/jobs/~1737876297360310272 |
Regression test:
Do we 👍 or 👎 ? |
We're good to close @stephanieelliott |
Thanks @hungvu193! PR for regression test here: https://github.com/Expensify/Expensify/issues/402935 |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.63-7
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @blimpich / @KMichel1030
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1713565240359109
Action Performed:
Video1
,Video2
).Video1
.0.25
(or any other)Video2
.Video2
(three dot menu -> playback speed).Expected Result:
Playback speed of
Video2
should be displayed as1
Actual Result:
Video2
is played at speed 1 but playback speed is displayed as0.25
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Issue.1.mp4
Recording.3004.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @stephanieelliottThe text was updated successfully, but these errors were encountered: