Skip to content

Change video dimensions depending on orientation#2191

Open
rmmgc wants to merge 1 commit into
ivpusic:masterfrom
rmmgc:fix-ios-video-dimensions
Open

Change video dimensions depending on orientation#2191
rmmgc wants to merge 1 commit into
ivpusic:masterfrom
rmmgc:fix-ios-video-dimensions

Conversation

@rmmgc

@rmmgc rmmgc commented Aug 21, 2025

Copy link
Copy Markdown

Hello,
this PR is related to wrong video dimensions on iOS (#1504). As this is open a long time, I am not sure if there is intention to "fix" this.

This is adjusting width and height directly. Another option would be to expose orientation value in response object so devs can adjust it on JS side.

@maksymhcode-care

Copy link
Copy Markdown

@rmmgc Hello, can i ask you to explain what exactly are you fixing with this? i have similar issue but it only happens with screen recorded videos, for some reason it returns video width as height, is this what your commit is trying to fix?

@rmmgc

rmmgc commented Jan 30, 2026

Copy link
Copy Markdown
Author

@maksymhcode-care Yes, pretty much. It checks if video was recorded in portrait mode and corrects width and hight before sending it back to JS. However, this patch is made long time ago, I am not sure it this is still needed.

@maksymhcode-care

Copy link
Copy Markdown

@maksymhcode-care Yes, pretty much. It checks if video was recorded in portrait mode and corrects width and hight before sending it back to JS. However, this patch is made long time ago, I am not sure it this is still needed.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants