MPMoviePlayerController orientation

496 views Asked by At

I am using MPMoviePlayerController to play movie using remote video URL. Is it possible to find it out in which device orientation video is taken whether protrait or landscape? According to that i will set portrait frame and landscape frame. Please let me know, Thank you.

1

There are 1 answers

0
OneDerr Siva On

Instead of showing two frames to accommodate video control and thumbnail image, i set the following settings to thumbnail image view. imageView.clipsToBounds = YES; imageView.contentMode = UIViewContentModeScaleAspectFill;