Question

Is there any way to fill video without stretching and cutting the video ?

1- MPMovieScalingModeFill - its stretching video. 2- MPMovieScalingModeAspectFill - its cutting video. 3- MPMovieScalingModeAspectFit - its shooing video in centre and showing black area.

Was it helpful?

Solution

No. Think about it! The MPMoviePlayerController's view is not the same aspect (ratio height to width) as the movie. So to make it fit, either you must cut some off (of either height or width), or you must letterbox it (black area) with one dimension being too small, or you must distort.

You should do the opposite: size the MPMoviePlayerController's view to fit the aspect of the movie!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top