Yummypets / YPImagePicker

📸 Instagram-like image picker & filters for iOS
MIT License
4.31k stars 976 forks source link

Video is not showing fit on the gallery #627

Open ashisht85 opened 3 years ago

ashisht85 commented 3 years ago

Hi sir, I am using YPImagePicker library in our project. in this library I am facing issue. issue is when we choose video from gallery then this video in the gallery in not showing proper fit. some part(screen shot attached) is being hidden in left and some part in right. if we adjust according to screen via zoom in(screen shot attached). than it again unfit on screen when we click next button. so video is not uploaded proper. some part is being hidden in uploaded video. please check and tell me where we are missing to write code. screen shot attached. while it should be visible or play similar to iPhone gallery (screen shot attached). Simulator Screen Shot - iPhone 8 - 2021-01-13 at 14 38 33 Simulator Screen Shot - iPhone 8 - 2021-01-13 at 11 52 58 Simulator Screen Shot - iPhone 8 - 2021-01-13 at 14 38 55

Thanks in Advance

ashisht85 commented 3 years ago

Hi Sir, This is Gentle Reminder! Please Check and tell me what should I do. I am waiting here please resolved ASAP.

ashisht85 commented 3 years ago

Hi sir, I am using YPImagePicker library in our project. in this library I am facing issue. issue is when we choose video from gallery then this video in the gallery in not showing proper fit. some part(screen shot attached) is being hidden in left and some part in right. if we adjust according to screen via zoom in(screen shot attached). than it again unfit on screen when we click next button. so video is not uploaded proper. some part is being hidden in uploaded video. please check and tell me where we are missing to write code. screen shot attached. while it should be visible or play similar to iPhone gallery (screen shot attached). Simulator Screen Shot - iPhone 8 - 2021-01-13 at 14 38 33 Simulator Screen Shot - iPhone 8 - 2021-01-13 at 11 52 58 Simulator Screen Shot - iPhone 8 - 2021-01-13 at 14 38 55

Thanks in Advance

Gentle Reminder!

balavor commented 3 years ago

Hey @ashisht85 Did you try to update YPImagePickerConfiguration?

config.library.onlySquare = false
config.library.isSquareByDefault = false
ashisht85 commented 3 years ago

Thanks Sir, now its working fine as expected.