I have this code trying to run a video on the iPhone 4 Simulator.
The problem is that looks like it loads the player but half a second later loads a back screen on top of the whole application disabling touch and everything, and it looks like it does not play the video also, because I can't hear anything.
Any ideas?!
MPMoviePlayerView...
I use MPMoviePlayerViewController to make a moviePlayer. But, when I click the "done" button, or cancel the player, the memory used always increases. Why??
...
I'm creating iPhone application using iPhone SDK 4.0.1
I've the following lines of code in my application related to notifications from media player
[[NSNotificationCenter defaultCenter]
addObserver:self
selector:@selector(moviePreloadDidFinish:)
name:MPMoviePlayerLoadStateDidChangeNotification
...
Hi All,
I want to play a video in iphone in potrait mode .I have written the following code
-(void)buttonEvent
{
NSBundle *bundle = [NSBundle mainBundle];
NSString *moviePath = [bundle pathForResource:@"Movie" ofType:@"m4v"];
NSURL *URL = [NSURL fileURLWithPath:moviePath];
self.moviePlayer = [[MPMoviePlayerController alloc] init...
I have a view controller that's been added to a UITabBarController. In this view controller I have a button that opens up a movie using MPMoviePlayerViewController.
When I play the movie, the top navigation bar is still overlayed on top of the movie, effectively blocking out a portion of the screen.
When this view controller isn't in...
Hey everyone,
I'm developing a presentation app for a client, and in the presentation the client is able to double tap a slide to view a "sub-slide", which means the current slide does a partial curl transition to present a full screen modal view.
My issue is that these main slides are animated videos (the sub-slides are all still imag...
Edit: if you come across this and want to know how I eventually solved it I gave up on that code below eventually and did this:
-(void)playMovieAtURL:(NSURL*)theURL{
mediaPlayer = [[MPMoviePlayerViewController alloc] initWithContentURL:theURL];
[self presentMoviePlayerViewControllerAnimated:mediaPlayer];
mediaPlayer.view.ba...
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...
I'm trying to get videos to play from my server on the iPhone device. I'm using the following method to do so, however, it only works in the simulator; and on my iPhone 4. It doesn't work on iPhone 3G?
If I call this method on the iPhone 3G, it opens the video modal screen, starts to load the video, and then closes the modal screen abr...
Hello,
I have implemented MPMoviePlayer functionality to play in landscape mode in iOS4- by reading information on other posts - thanks stackoverflow!
Basically I have a list of videos in tabular view and from that I can navigate to each video.
Problem I am facing is the video does play in fullscreen (landscape) however the top title...
Hi.
i have a small movieplayer in a rectangle (20,20,300,200) in an ipadview.
there is a UIpagedcontrol.
while a movie plays i change the UIPage, but movieFinishedCallback notification cant be called. i think movieFinishedCallback notification is called when the movie completly finished. i want to stop movie and prepare the next movie wh...
My movie player leaks memory only on the iPad and only when the "Done" button is clicked. If the movie plays to completion then it cleans itself up properly. Here is the play code:
mViewPlayer = [[MPMoviePlayerViewController alloc] initWithContentURL:[self movieURL:@"mymovie"]];
[self.parentViewController presentModalViewController:mV...
Hi,
if I call the movieplayer to play the following message appears on console:
warning: Unable to read symbols for "/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.2/Symbols/System/Library/VideoDecoders/VCH263.videodecoder" (file not found).
warning: Unable to read symbols for "/Developer/Platforms/iPhoneOS.platform/DeviceSup...
Hi there,
I have a simple view that creates a MPMoviePlayerViewController when the user presses a button, using the presentMoviePlayerViewControllerAnimated: method. The new view controller slides in and shows the movie player, so far so good.
However, when the button is pushed, the current view controller slides out the bottom, showin...
I have following code that I use to play a selected portion of a movie clip. The movie plays okay. But the scrubber bar does not reflect the correct start stop time. Also, the forward and rewind buttons take the clip beyond the segment that was specified. Why is this and can we fix it?
TIA.
MPMoviePlayerViewController *mp =
[[MPMov...
Hi there,
I'm currently developing a web-tv application that uses MPMoviePlayerViewController resp. MPMoviePlayer to playback streaming video content on the iphone.
the issue I've got here is that once i unplug my headphones (while watching tv) the player stops.
Due to the fact that I'm not showing the standard controls (previous butto...
I'm using mpmovieplayer to play video on ios 4, and I want to keep the audio playing when my app enter background, but it doesn't work. I thing it's because video player use GPU to render video on screen and this is not allowed by apple when app enter background.
So, is there any way to do that? There are some apps have this feature, a...
Hi Everybody,
I am porting a game from flash to iPhone. Flash game contains lot of cut scenes with some interactive button like "Next", "Previous". Should I split the scene into multiple movies. It seems that in iphone I cannot seek a movie arbitrarily by programming means.
Any help,Thanks
Shakthi
...