Hi.
I have a MPMoviePlayer setup to play an intro movie to my application. That works just great, the only problem is that it lasts for 14 seconds, and I want to give my users a chance to skip the intro by pressing anywhere on the movie.
I have hidden the movie controls, as they are not needed.
Code:
NSString *introPath = [[NSBundle ...
I am interested in playing HTTP live streaming data from my app. The stream (which I create) is encrypted, and a URL pointing to the AES key is included in the stream index file.
MPMoviePlayer hits this URL for the AES key, when it sees that encryption is enabled.
I would like this URL to be served by https, and for MMMoviePlayer to use...
I tried this code for customizing the screen size.. But it works well this 2.2.1 but it doesn't work with sdk 3.1.2..Its showing some error as windows count beyond bound.. can anyone tell me how to this in 3.1.2. else is there anyother method to customise the screen in 3.1.2. plz help. thanks
NSArray *windows = [[UIApplication sharedApp...
I'm trying to add custom buttons to the left and right of the standard rewind/play/forward controls in an MPMoviePlayerController view (OS 2.x and up). I've figured out how to add them to the player window, but they're always visible. Is there a way to detect when the standard controls appear and disappear?
...
Hello
I have the MPMoviePlayerController set up to play a movie.I want to detect a touch on the movie for bringing up few buttons.I used the code :
// The movie's window is the one that is active
UIWindow* moviePlayerWindow = [[UIApplication sharedApplication] keyWindow];
// Now we create an invisible control with the ...
I am trying to implement a custom MPMoviePlayer to play mp3 audio. I have got it working in portrait mode along with an overlay window over the native controls - thanks to other stackoverflow posts.
The current issue is the song progress control shows up when the media window opens (blue bar taking up the first 40 odd pixels), but see...
I am new to iphone development.the alpha value of the movie player changes from 0 to 1 while playing the video. I don't want to show the change in alpha value.I want to keep the alpha value to 1 when loading .I am using the apple reference sample program.Thanks.
...
I have a UIModalPresentationFormSheet which has a movie player inside of it. When the user hits the button to play it in full screen, my UIModalPresentationFormSheet is still there ontop of the video while it's playing in full screen, behind the window and behind the shadow. What do I need to do to get rid of the dim so the video is play...
I'm trying to play two videos continuously using MPMoviePlayer. I let the second video play when the MPMoviePlayerPlaybackDidFinishNotification is posted.
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(playSecondMovie)
...
Hi,
I know about the MPMoviePlayerControlModes VolumeOnly, Hidden and Default.
In some apps I've seen some players with rewind 30sec and just start/pause + timelime above.
Was that a custom created view? If so how was it recreated including the fading controls on a touch especially how is that timeline recreated?
I know how to impleme...
Hi all,
I am playing video with MPMoviePlayer in my application.
How i rotate video in my iphone landscape to portrait and vice versa.
...
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...
hi,i am developing an iPad app which has videos plays. the videos from URL . i am using control style 3 . but there is strange problem while i press done button it get video did finish notification but when i press next or previous button it doesn't get did finish notification.....
...
Everything works fine while I'm not playing anything (I'm calling beginnotifications, etc, and using the orientation to rotate my view). But after I start playing with MPMoviePlayerController everytime when I try
UIDeviceOrientation orientation = [[UIDevice currentDevice] orientation];
The orientation gets a UIDeviceOrientationUnknown...
I'm having lots of issues with the MPMoviePlayer lately. My app is targeted for 3.0+. So if I compile it under 3.0 will it run on an iPad? Because it doesn't work on 3.2 because of the new MPMoviePlayer changes since 3.2
...
I have an MPMoviePlayerController that I am presenting modally. The video loads fine, however just before the video is launched the screen turns white until it has loaded. How can I prevent this from happening?
moviePlayerViewController = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL URLWithString:mySTVideo.video_url]];...
Hello,
I'm writing an app that will be playing videos alot using the MPMoviePlayerController on the iPad. The problem is the app was working fine and playing the videos when I stopped working about 15 hours ago but now the videos do not play. The MPMoviePlayerController will show the first frame from the video, and in full screen view ...
I was using MPMoviePlayer to play a short video in my app with no problems in SDK 3.1.3. I made the changes to the code in SDK 4 but the video is not playing. I just get a black screen and audio. The Apple Dev Center doesnt have any sample code for this class for the latest SDK. Following is the code I'm using:
(void)viewDidLoad {
[su...
Hello,
During the testing of my app i discovered that it crashed on an iphone with OS 3.0.1 and 3.1.1(iPod Touch).
I have the following code for playing the video which is placed on a remote server. It works flawlessly on the iOS 4.0 and iPad with OS 3.2
Xcode is setup to use SDK 4.0 but target OS is 3.0.
NSURL *url = [NSURL URLWith...
As you know,when i play movie with MPmoviePlayerController ,the moviePlayer should show an activityIndicatorView in the center of the moviePlayer'view. Now,i have put a custom activityIndicatorView in my program,i just want to hide or remove the activityIndicatorView of MPMoviePlayController,can i do that ?
...