mpmovieplayercontroller

When I press "DONE" while playing movie using MPMoviePlayerController which view will get displayed

I am playing movie using MPMoviePlayerController, I am using TableView,what happening with my application is when I press accessory button it will display detailed view and when I press cell area it will play movie that I wanted,(the way youtube application does) but when I press "DONE" while playin movie it'll navigate to a view whic...

MPMoviePlayerController retainCount goes from 1 to 3 to 2. Then hangs my app

Inside the simulator, I load up my movie using the method described here: https://developer.apple.com/iphone/library/codinghowtos/AudioAndVideo/index.html#VIDEO-INITIATE_VIDEO_PLAYBACK_IN_MY_CODE I'm doing an NSLog to show the retainCount before/after the play call, as well as before/after the release call in the notification. The count...

MPMoviePlayerController and UIWebView

I'd like a link in a UIWebView that plays a local .mp4 file. I know how to load the MPMoviePlayerControler but am not sure how to set it up in the UIWebView. I have a UIView with a UIWebView inside of it. How do I use the MPMoviePlayerControler with this setup? ...

How to release MPMoviePlayerController?

I have a couple of views that access the movie player. I've put the following code in a method in AppDelegate for these views. They send in the filename to play. The code works fine but I know a release is required somewhere. If I add the last line as a release or autorelease, the app will crash once the user presses done on the movi...

How to make MPMoviePlayerController respect the ring/silent switch?

I'm trying, unsuccessfully, to get the MPMoviePlayerController to play movies silently if the ring/silent switch on the iPhone is set to silent. There are no interface methods to help me out nor does the player respect the AudioSessionProperty() trick: UInt32 sessionCategory = kAudioSessionCategory_AmbientSound; AudioSessionInitialize...

MPMoviePlayerController alternatives on iPhone?

Hi, I am looking for alternatives to the MPMoviePlayerController on the iPhone. As a video player its functionality is very limited. According to the class reference there is no way to get the current play back time or set a new time, for example. It's just play and stop. Are there any middleware solutions out there for iPhone video pl...

MPMoviePlayerController with authentication

Hi all, i am trying to play a video from my IIS, which is protected with basic authentication. Can any one help with how to play an video with authentication. MPMoviePlayerController has only these parameters. contentURL property backgroundColor property scalingMode property movieControlMode property how to give auth det...

Simultaneously stream and save a video?

I'm writing an app, part of which allows the user stream/play videos. I want to restrict the functionality so that they can only stream videos if they have a WiFi connection. I will then save the video so that when they have a 3G only (or lesser) connection they can't stream videos and can only replay videos that are saved on the phone. ...

Small video playback

From what I have gathered from internets the MPMoviePlayerController class doesn't support small video playback. So, in an effort to beat a dead horse I was wondering what kind of methods could be used to get a small video playing in a corner of the screen without interrupting the rest of the screen. So far we've come across two solutio...

Is there a way to adjust volume in MPMoviePlayer Controller by program?

I want to increase or decrease or even mute the volume of movie player by my program instead of the buttons in Movie player. Is there a way to do it? Thanks ...

Pros and cons of MPMoviePlayerController versus launching UIWebView to stream movie

I have a client who has video content for the web in Flash format. My task is to help them show the videos in an iPhone app. I realize that step one is to get these videos into the appropriate Quicktime format for the iPhone. Then I'm going to have to help the client figure out how or where to host these files. If that's tricky I assum...

MPMoviePlayerController and long movies

Hi, I am using MPMoviePlayerController to play a clip off my website. I am able to play small clips ( i.e less than 2 MB) but not longer clips. Does MPMoviePlayerController download the entire clip before start of play? Is there a way to get it to start "streaming" immediately? Thanks. Srini ...

Is there an online sample movie to test MPMoviePlayerController?

I have the iPhone successfully trying to open a movie online. (It fails because I don't have a real URL.) Does anyone know of a working URL I could use as a baseline test to make sure my code is working? I know the iPhone is a bit picky about formats and MIME types and the server, so I want to start with a known working stream. ...

MoviePlayer - custom controls iphone sdk

does anyone know if its possible to create custom playback functions for movieplayer such as, frame by frame playback. ...

adding mpmovieplayercontroller to a seprate view

Hi All, I am doing a application using mpmovieplayercontroller,when i am playing a video it is opening in a new window in landscape mode.But my application demands me to add the movieplayer to the half of the view.Then i have to add the volumecontroller. It is just like TVUlite Application in AppStore Can any one please help me, Th...

MPMoviePlayer Overlay

Hi everybody. I'm looking for a solution concerning the overlays on a streaming. In fact, I started from the Sample Code MoviePlayer but a little problem occured. I'd like to load my Streaming Video from my local Server on my iphone by using MPMoviePlayer. First, I decided to test the MoviePlayer supplied By Apple on their website and...

creating a stop button for MPMovieplayercontroller in a different file( overlay )

Hello all, i have an MPMOvieplayercontroller in my rootviewcontroller and have attached an action to it. it looks a bit like this. RootViewController.m -(void)playMovie1 { NSURL *movie = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"movie4" ofType:@"m4v"]]; MPMoviePlayerController * theMovie = [[MPMoviePlayerCo...

MPMoviePlayerController will play once, then throw an error

Hello, I realise that a similar question has been posted before, but I really can't seem to find a solution that works for me. I have a MoviePlayer class which stores an ivar of MPMoviePlayerController, and I have the following method in the class: -(void)playMovie:(NSString *)movieName { NSURL *movieURL; NSBundle *bundle = [NS...

MPMoviePlayerController movie length

Hi everyone, The question is - how to get the movie length from MPMoviePlayerController object? I need this to create a progress bar. I have the method [myPlayer currentTime] to move progress bar while movie is playing. And the [myPlayer setCurrentTime: doubleVal] to rewind the movie. But I can't use all this without information about ...

How do you determine a user's current location within a MPMoviePlayer instance?

I have a long movie that I'll be putting in an app, and I wanted to know what the best way to put the user back to the point they left off. Can someone point me in the right direction? So if the user is watching the film, hit done, is there a notification of the current time or something that I can store and load the instance again with...