-
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
Video in chat has wrong aspect ratio and styling #42298
Comments
Triggered auto assignment to @joekaufmanexpensify ( |
Job added to Upwork: https://www.upwork.com/jobs/~01235ebb839b18cd37 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Ollyws ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The video thumbnail is landscape and has no border radius What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
The
Because of this, the video thumbnail shows landscape because we're using those 2 attributes to show the thumbnail. We need to fix the back-end to make sure we return the correct More specifically, such MOV video will have video metadata of What alternative solutions did you explore? (Optional)For 1. Add For 2. We can make the back-end return the |
Updated proposal to add an alternative solution. |
ProposalPlease re-state the problem that we are trying to solve in this issue.There are two problems that we are trying to solve:
What is the root cause of that problem?The root cause of both problems are different.
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)Reading the actual size of the thumbnail once it is loaded and updating the size. But this causes a flicker because we wait for the image / video to be laoded first. |
Upwork job price has been updated to $125 |
This is very minor design issue, so lowering budget for this one. |
@Ollyws, @joekaufmanexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Will get to this one tomorrow. |
@Ollyws Yes, but the border issue is there. You can see in the screenshot that the preview doesn't have borders, which is one of the requirement. We should fix it here. |
Have you tested this on all platforms? We had three people reproduce it so that's a bit odd 🤔 Either way like @dominictb said, we'll want the border width, color, and radius to be the same as what we use for photos in a thread |
@dubielzyk-expensify Yes, could you upload and share the specific video that you used? It might be a video-specific problem |
As @shawnborton could also replicate this I believe it's not a video-specific thing, but it could be a format thing maybe? You can see a repro here: recording.mp4The video I took was portrait and it has landscape thumbnail without rounded corners. |
Same, I could reproduce the problem with a video taken on a (physical) iOS device. I took portrait videos on my iPhone, but the thumbnails showed up in landscape. It's possible that iPhone's video format has a different way to specify video dimensions. I'll dig into this. |
Updated |
The portrait / landscape bug is happening due to an open issue in |
Payment summary
|
Payment Summary
BugZero Checklist (@sonialiap)
|
#42298 (comment) |
I'm back from OOO, so can grab this one back. TY for handling @sonialiap ! |
BugZero Checklist:
https://github.com/Expensify/App/pull/42570/files#r1652682185
N/A
Yes
Regression Test Proposal
Do we agree 👍 or 👎 |
Requested payment in ND. |
$125 approved for @Ollyws based on this summary. |
@sonialiap Thanks, I accepted |
Checklist is done. This is a pretty niche bug, so IMO we don't need a regression test for this. |
@dominictb $125 sent and contract ended! |
Upwork job closed. |
External portion of this bug is done. However, backend PRs are still in progress. @marcochavezf is there an ETA for getting your draft PRs to review? |
I estimate the PRs will be ready for review tomorrow |
Awesome. Let me know when it's ready for testing? |
Sure, PR is in review now |
Sounds good. TY! Do we need the web PR and web-PDF PRs too? |
@marcochavezf mind confirming if the web PR and web-PDF draft PRs are needed too? I see the salt PR is merged, so trying to determine if this one is done now. |
Sweet. Closing. Thanks everyone! |
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.74-4
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: @dubielzyk-expensify
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1715819494848969
Action Performed:
Expected Result:
The uploaded portrait video should have a thumbnail with a portrait aspect ratio and
border-radius: 8px
cornersActual Result:
The video thumbnail is landscape and has no border radius
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @marcochavezfThe text was updated successfully, but these errors were encountered: