Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • HOW TO COUSTAMIZE THE MPMoviePlayerController and play it in the collection view cell

    • 0
    • 0
    • 0
    • 2
    • 0
    • 0
    • 0
    • 316
    Answer it

    hi

    How to coustamize  The  MPMoviePlayerController and play it in the collection view cell and the collection view contains 15 images and I want add this as a 16th element.

    How to get the frame of the video and when i click on it it should play   

 2 Answer(s)

  • Hi Satheesh,

    You need to know first that MPMoviePlayer is deprecated now so you can use AVPlayer or AVPlayerController. Please look into attached sample code or follow the link: http://findnerd.com/list/view/Play-video-within-given-frame-or-in-UICollectionViewCellUITableViewCell/22819/

    You can set frame or AVPlayer according to your cell size and play it with in cell.

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: