I have a "Zoom in" Animation Video that is played when switching from one view to a subview.
When switching back to the main view, i tried to play the same video backwards like that:
MPMoviePlayerController *mp;
....
mp.currentPlaybackTime = mp.duration;
mp.currentPlaybackRate = -1.0;
but occasionally the video freezes at some poin...
I have a MPMoviePlayerController, and I can successfully play a (local) video with it.
The duration property is not being set to the runlength of the video - even after I receive a MPMovieDurationAvailableNotification event, the value remains set to 0.
Has anyone seen this before?
...
I am trying to figure out how to adjust the volume of a movie played with MPMoviePlayerController on the iPhone without using the slider or the volume buttons on the side of the phone. Is it even possible to do this with code in a Apple approved way? I haven't been able to find anything in the APIs that relate to changing or setting th...
As i use initialPlaybackTime when playback a movie,the thumb show a animation from the beginning to where i set my initialPlaybackTime,but i do not like this at all ,could i enable it?
...
One good feature in iOS 4 is that we can resize the movie player.
I'm using MPMoviePlayerController to play a video file. I'm resizing the view to show it in half screen only.
When video is being played, the status bar is hiding and it shows white box in place of status bar. When video completes playing, its not showing status bar again....
I want to implement the following things,
App is running a music or video (using MPMoviePlayerController) in background.
User double clicks the home button and go to the first screen showing playback controls (fast rewind, play or pause, fast forward buttons)
User click fast rewind or fast forward button.
Then app play previous or next...
I'm having difficulty getting video to play in landscape at launch.
My app supports all interface orientations in the plist file. If I start a view controller at launch then the app loads in the correct orientation.
However if I start a video the orientation is fixed in portrait at startup.
How can I get around this? [UIApplication s...
I have MPMoviePlayerController, with which I play a movie. I have my movieControlMode MPMovieControlModeHidden. I want this behaviour: while the movie plays, if tap on the screen is received, stop it, release the movie player. How can this be done?
mMoviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:mMovieURL];
[mMoviePla...
My iPad app displays a movie full screen using the convenient MPMoviePlayerViewController class. I present it like this:
[self.hostController presentMoviePlayerViewControllerAnimated:playerViewController];
And later, when notified that playing is done, I dismiss it like this:
[self.hostController dismissMoviePlayerViewControllerAni...
Is there a way to disable the fullscreen button of the MPMoviePlayerController ?
...
Hi everyone,
I've been struggling with a very annoying problem all day long and I hope I could find help on this board.
I'm using an MPMoviePlayerController to play a fullscreen movie on iPad and I can't figure how to remove the status bar which is always displayed despite all my efforts to make it go to hell.
Here is the code of the ...
Hi, all !
Can I play sound by MPMusicPlayerController (from iPod) and video by MPMoviePlayerController at the same time?
I need change tracks sometime (use a lot of tracks for any video).
My video has no sound.
When i run playing track it is playing good, but when i loading video and [MPMoviePlayerController play], then video is playin...
I'm working on an iPad app that plays a video with MPMoviePlayerController and - based on user interaction - uses thumbnailImageAtTime to try to grab an image from the video.
I've tried using both options MPMovieTimeOptionNearestKeyFrame and MPMovieTimeOptionExact. Regardless of which option, I find that I sometimes get back an empty U...
Hi all. When I use the MPMoviePlayerViewController, I don't seem to be able to change the modalTransitionStyle to anything other than the default slide up animation.
Has anyone else managed to get this to work?
MPMoviePlayerViewController* theMoviePlayer = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL fileURLWithPath...
In 3.0, I could register for MPMoviePlayerContentPreloadDidFinishNotification and detect if the movie preloaded or failed, depending on whether there was an error object. Can anyone tell me the equivalent of the two cases for iOS4?
[Update: Responding to the first comment here because the max comment length is too short.]
If you succe...
Hello everyone,
I am trying to rotate my MPMoviePlayerController to landscape view, but it always stays in portrait mode. I am doing this in a UIViewController and I still can't rotate my MPMoviePlayerController when I am in full screen mode. Do I have to do something to the shouldAutorotatetoOrientation method? If anyone knows how to d...
Hi All,
I am trying to launch a movie from within a subview of a toolbar view. The movie plays but the problem is that toolbar floats on top of the movie. I believe the MPMoviePlayerViewController is supposed to take care of this for us because it opens as a modal view. But I am not sure why this is case for me...
Any help to this ...
Hi guys,
The question is can I have two instances of MPMoviePlayerController simultaneously in one UIViewController?
I'm trying to create a smooth transition between two movies in iPad app, but when I create the second MPMoviePlayerController the playback of first one is stopped and can't be resumed. I didn't found any restriction for h...
For some reason, the expand button the arrow points to in the screenshot below causes the view controller that initiated video playback to animate back over top of the video, but without stopping video playback which means you can still hear the audio even though the video is no longer visible. I've tried other movie control styles, but ...
How to get current playing time of MPMoviePlayerViewController after seeking ? Originally I am using a NSTimer to count the time played, but after scrubbing / seeking, the time recorded does not count the amount of time seeked.
Any way to know current time of video or amount of time scrubbed ?
...