Closed MartinMoizard closed 4 years ago
I recorded a video with my phone and tried to play it with a fillMode = .resizeAspect.
fillMode = .resizeAspect
Here is the result (using the demo app on master):
The aspect ratio is not working, here is how the video actually looks like:
If needed, here is a link to the video I used: https://www.dropbox.com/s/l5x2nx07wrsnk7h/IMG_0016.MOV?dl=0
Any idea what might be the issue? I also tried to play the video after getting a PHAsset reference through the Photos API: same result.
PHAsset
Thanks a lot
For information, I tried playing the same video using a basic AVPlayer, and the aspect ratio worked like supposed.
AVPlayer
@MartinMoizard thanks will check it out
I recorded a video with my phone and tried to play it with a
fillMode = .resizeAspect
.Here is the result (using the demo app on master):
The aspect ratio is not working, here is how the video actually looks like:
If needed, here is a link to the video I used: https://www.dropbox.com/s/l5x2nx07wrsnk7h/IMG_0016.MOV?dl=0
Any idea what might be the issue? I also tried to play the video after getting a
PHAsset
reference through the Photos API: same result.Thanks a lot