-
-
Notifications
You must be signed in to change notification settings - Fork 981
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Landscape Videos Rotated #161
Comments
I've solved this issue by adding the following in
Add the
|
@Appswage This is live as of 3.3.0 :) https://github.com/Yummypets/YPImagePicker/releases/tag/3.3.0 |
@s4cha - Awesome, thanks for being so responsive! |
@s4cha - I need to make an update to the above code. I found that if the phone is portrait locked from settings, the video would not be properly oriented if taken in landscape mode. I'd suggest replacing my orientation function with this one which can still detect orientation when portrait locked. This uses CoreMotion which of course needs to be imported at the top of class. Also add a property called motionManager of type CMMotionManager.
|
@Appswage Your update is on point 👌. This looks like a micro case, but still, nice catch! I implemented it here with few amends and it works perfectly : PS: Excuse the delayed response, we won the soccer World Cup so I was away for a while 🇫🇷 🍻 :) Totally unrelated, I think I saw your profile on the top iOS dev in upwork, congrats!! 👏 Have you used the picker on clients' apps? If so would you be willing to communicate their name in the App Store so we can build a list of Apps that use it ? Cheers! |
This should be ok in 3.4.0 https://github.com/Yummypets/YPImagePicker/releases/tag/3.4.0 :) |
Closing this for now, don't hesitate to reopen if needed :) |
It seems all videos that are taken "live" from the library come out in portrait orientation. If a video is taken landscape, it is rotated and sideways for editing and output.
The text was updated successfully, but these errors were encountered: