iphone Programming Glossary: vidindex
Playing many different videos on iphone using AVPlayer http://stackoverflow.com/questions/6258573/playing-many-different-videos-on-iphone-using-avplayer animations ^ self.myView.alpha 1.0 moviePlayer NoCashMoviePlayer alloc initWithContentURL self movieURL vidIndex delegate self self.moviePlayer.view.frame self.myView.bounds self.moviePlayer.view.autoresizingMask UIViewAutoresizingFlexibleWidth.. animations ^ self.otherView.alpha 1.0 moviePlayer NoCashMoviePlayer alloc initWithContentURL self movieURL vidIndex delegate self self.moviePlayer.view.frame self.otherView.bounds self.moviePlayer.view.autoresizingMask UIViewAutoresizingFlexibleWidth.. And last the gesture action void handleSwipeFromLeft UISwipeGestureRecognizer recognizer double elapsedTime 0.0 if vidIndex 0 vidIndex 3 else vidIndex vidIndex elapsedTime self.moviePlayer currentTimeInSeconds self.moviePlayer stopMovie isMain..
|