piemonte / Player

▶️ Play and stream media in Swift
MIT License
2.08k stars 334 forks source link

Aspect ratio not working on iOS 14 beta 6 #229

Closed MartinMoizard closed 4 years ago

MartinMoizard commented 4 years ago

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

MartinMoizard commented 4 years ago

For information, I tried playing the same video using a basic AVPlayer, and the aspect ratio worked like supposed.

piemonte commented 4 years ago

@MartinMoizard thanks will check it out