Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Phonegap iphone : camera plugin : orientation issue

I am using phonegap in my application.

using camera plugin for capture and select image

I am facing orientation issue in different cases:

When allowEdit : true and iphone orientation is open, then it works fine

When allowEdit : true and iphone orientation is locked, then it work fine only when click photo in portrait orientation, in all other orientation image rotates

When allowEdit : false, then it work fine only when click photo in landscape left orientation, in all other orientation image rotates

Same issue with video too.

like image 787
Amit Battan Avatar asked Nov 24 '25 14:11

Amit Battan


1 Answers

Solved for image
passing argument correctOrientation: true from phonegap

But still have issue in Video.. Video rotate to 90 degree angle

like image 191
Amit Battan Avatar answered Nov 26 '25 05:11

Amit Battan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!