I would like to have layers of buttons over video playing in the background on my IPHONE application. Basically, I'm looking to adjust the Movie Player code, in order to allow the application user to tap on different portions of the screen while a video plays and call other commands (for example a video of puppets talking, if you touch one of the puppets, the video pauses and a second (smaller) window appears with a list of information about that puppet; when you exit that list, the video continues where it was paused).
views:
536answers:
2
A:
This tutorial explains how to add subviews to the movie player. However, I don't think that there is a way to programmatically pause a video. In addition, you will still need to figure out which object in the video was touched based on location which seems like the hard part in this.
Randy Simon
2010-03-05 22:29:20
A:
Hope this helps
MPMoviePlayerController *moviePlayer = ( MPMoviePlayerController * )[ appDelegate moviePlayer ];
[ [appDelegate moviePlayer] pause ];
Xavi Colomer
2010-05-01 11:24:52