-
-
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
[Android] Getting the video dimensions #203
Comments
The dimensions are posted in |
@sjchmiela Thanks! I did not notice that. It should be documented in readme. |
@sjchmiela Ok I couldn't get it :/ That's all I get:
|
You're right, the changes and callbacks haven't been published to the npm yet. You've got to either point your |
Here is my package.json content:
I see the following code in my
I restarted the packager, and reloaded the app. @sjchmiela Do you have any idea? Edit: @sjchmiela Will this be implemented for Android in soon? 🙏 |
Dimensions return wrong values if the video is in landscape orientation. |
I don't develop on Android, sorry… 😞 I'll leave it open until Android side is implemented. |
I don't develop too. But it is as simple as this:
Should be used right here: I will try that and make a pull request some day in next weeks. |
Android version is ready. PR #239 |
Is it possible to get actual video dimensions (width and height)?
I am trying to make a video cropper UI. So I need the actual dimensions of video, then wrap it to a View with overflow hidden, then move the video inside using PanResponder.
Thank you.
The text was updated successfully, but these errors were encountered: