mpmovieplayercontroller

Using MPMoviePlayerViewController full screen in iPad app that's not fully ported from iPad...yet.

I have an iPhone app that launched the good old MPMoviePlayerController with a movie file. I changed it to a MPMoviePlayerViewController and used presentMoviePlayerViewControllerAnimated to get the movie to play on the iPad. It looks awful with the 2x sized controls. Can this be coded in such a way that it will look good regardless of...

iPhone - Play a video on both 3.0 and 4.0 OS / SDK ?

Hi, Since 3.2 iPhone OS SDK, playing a video is really different. So I was wondering if there is a way to make video play in full screen with a compatible code (both < and >3.2) without writing code for the two cases. I think we'll have to write 2 versions of our classes handling video playing... Thy ! ...

I need to load a video stored in Applications folder in to a UITableView ?

I need to load a video stored in Applications folder in to a table view. When I touched the cell the video plays. I used the following code to get all the video files in to an array. NSFileManager *fileManager = [NSFileManager defaultManager]; NSArray* contents = [fileManager directoryContentsAtPath:@"/Users/srikanth/Desktop/...

How to make the Movie Player Controls work when we are playing it in a subview?

I am able to play the MPMoviePlayerController sucessfully in a subView of the mainView. Only and the main problem is that, when the video starts playing it will suddenly display the controls at the bottom of the movieplayer and it will dissappear. I am not able to do anything on the controls. And they wont appear again whatever I do. Usu...

MPMoviePlayerController fullscreen movie inside a UIWebView

Hi, I'm having a problem with the UIWebView and MPMoviePlayerController: My UIWebView have a movie inside the html (it's a local html file), I'm using html5 and a video tag for the video. The problem is: the user can set the video to play inline, directly on the html or he can tap the fullscreen button, but I need to know if the video is...

Snapshot from a MPMoviePlayerController video

Hello, Is there a way by which i can take a snapshot of a movie or clip being played in iPhones MPMoviePlayerController PROGRAMMATICALLY? Thx in advance ...

I want other video viewer library

I want other video viewer library.. MPMoviePlayerController is no have function(video layer width size setting). what's name 3rd party video viewer library?? "MPMoviePlayerController take the entire screen. The only option for is to use a 3rd party video viewer library." ...

"The Server is not configured correctly" message while playing movie in iphone

Hi All, I am trying to play video files from iPhone media player in my iphone application.I am reading the stream from one Media server. but i am getting error message as "The server is not configured correctly". Here is my observation: -> I kept five different video files on server.(i am sure that all of these files are properly encod...

MPMediaPlayerController on iPhone SDK 4.0

Hello How do we play a video using MPMoviePlayerController in sdk 4.0. Like 3.1 and higher, the play does not seem to work. Or it seems to me. Any suggestions? ...

Play two videos with MPMoviePlayerView Controller

Hello, I am developing an application for IPAD and I need to play two videos one after another but can not find how. I'm using MPMoviePlayerViewController to do it and do not know how to launch a share after the first video to be played and start the second. Can someone help? ...

How to know when the MPMoviePlayerController has been paused in iPhone?

I want to add an overlay view for my video when the video is paused by the user. Is there any way to get the pause notification from MPMoviePlayerController? According to Apple Doc, there should be ways to do this but I can't find which notification should I use for this purpose. Quote: In addition to being notified when playbac...

avaudioplayer interferes with mpmovieplayer on ipad

my app plays video and audio. however, i have a problem where once i play an audio file using avaudioplayer, the video refuses to play. when i play the video first, everything is fine. but if the audio is played first, any time i try to play the video it simply pops up the video player but will not play the actual video (you can use the ...

Testing MPMoviePlayerViewController in iPad simulator

I have a view that shows a MPMoviePlayerViewController modally. When testing it in the iPad simulator it works well on the first try. If I dismiss the video and then show the view again, the player only plays the audio, but not the video. Is this a simulator quirk or am I doing something wrong? Here's my code: - (void)viewWillAppear:(B...

Error Playing video from server with MPMoviePlayerController

I try to play a video on the server with this code. I have a error. //Play the video from server - (IBAction)playVideo:(id)sender; { NNSURL *url = [[NSURL alloc]initWithString: aVideo.urlVideo]; NSLog(@"URLVIDEO %@", url); MPMoviePlayerController *VideoPlayer = [[MPMoviePlayerController alloc]initWithContentURL: url]; [...

Multiple MPMoviePlayerViewController fullscreen movie init & switching issue - Fullscreen View doesn't autorotate and minor similar issues

Hello SO Friends, This is my first post at SO. I would like to thank all of the SO users, their contribution have helped me a lot in all of my projects. I am new to the iPhone Application development scene. Aim of the project is to have a custom interactive User Interface (UI) on top of Movie Player objects (*.mov files on device). Th...

MPMoviePlayerController fullscreen quirk in iPad

I want to show a MPMoviePlayerController in a view controller and let the user toggle full screen with the default controls, like the YouTube app. I'm using the following code in a bare-bones example: - (void)viewDidLoad { [super viewDidLoad]; self.player = [[MPMoviePlayerController alloc] init]; self.player.contentURL = the...

MPMoviePlayerController: I need some help rotating (autorotating or whatever) the movie when device turns upside-down

Hi all I'm having some trouble trying to apply rotation to the movie player while it's playing... When you see the IPhone's video player (the default you have in the operative system), you realize that whenever you turn the device upside-down, the player rotates too. I want to achieve exactly the same thing in my app, but I don't know...

How to keep MPMoviePlayerController open after movie ended?

If I use MPMoviePlayerController to play video in my iPhone app, it opens, loads the movie, plays it and then closes. Is it possible to force it to stay open after the movie finishes, so that user can replay it using its controls, instead of using controls in parent view? Also, is it possible to start MPMoviePlayerController in the pause...

help me pick the right iPhone audio class - MPMoviePlayer vs AVAudioPlayer vs MPMusicPlayer

Does anyone know of a good tutorial on the distinction between the MPMoviePlayer vs AVAudioPlayer vs MPMusicPlayer? I want to play audio from an mp3 file available at an external URL. Ideally it is played in an iPod-like audio view. I toyed with MPMoviePlayer but it appears to be more suitable for video, as when audio starts a "movi...

iPhone universal app. MoviePlayer.framwork problem.

I have application based on 3.0 iPhone OS SDK One of tasks is playing video (I use MPMoviePlayerController for this task) Now I try to make universal app working on both 3.0 and 3.2 OS I did all steps described in apple documentation: Upgrade Current Target for iPad; make run-time checking for symbols using [[UIDevice currentDevice] res...