mpmovieplayercontroller

MPMoviePlayerViewController crashes on OS 3.0

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...

MPMoviePlayerController switching from live to VOD stalling issue

I'm trying to create a basic app on the iPad SDK 3.2, that displays one movie player that switches between different video sources. Switching between VOD using the code below does not have any issues. However if I switch to a live stream and then back to a VOD the video player constantly stalls. I've also tried releasing then re-cre...

MPMoviePlayerController Move Playhead in <3.1 SDK

Hi everyone! I'm trying to write an app that will quickly move the playhead of a video based on touch events. Writing to the property currentPlaybackTime or calling seekToTime: on 3.2 and later works great, but I was wondering if there's a way to do this in 3.1? currentPlaybackTime and seekToTime were introduced in the MediaPlayback pro...

How to resume playing after i sliding the indicator of the slider in my custom moviePlayer?

In my custom movie player ,i use [player setInitialPlaybackTime:playSlider.value]; to make the movie resume playing at the time i slide to,but it has this situation: the indicator returns to the start of the movie,then go to the time playSlider.value .At the same time, the view of movie get to the starting view of movie then resume the ...

Cannot get the MPMoviePlayerViewController to play my media file

Having some issues getting this MPMoviePlayerViewController to work. I have two sample URLs pointing to the same Quicktime movie. The commented out URL doesn't work; the other one works fine. I've monitored both via Fiddler and I can't see any issues in headers/etc. Basically I'm trying to figure out a way to play an Azure hosted med...

Video with iPhone 3.0 OS application getting crash while running in iphone 4.0 OS.

Hi, I am having a crash issue while playing video in iphone 4.0 OS. Actually, I have created application with base SDK 3.0 and now i am just installing application to 4.0 OS device. It is not working in that... I have debugged that issue and found that in 4.0 OS, apple change the framework and methods to play the video. Any one help m...

Iphone MPMoviePlayer Notification

Hi, I am using a MpMoviePlayerController To play video in my aap. I want to handle the notification sent by tapping the control button displayed in the red circle in below image. Can any one help me out which notification does this control button fires??? UPdates: I tried it in this way, NSString * filePath = [[NSBundle mainBundle] ...

Loading MPMoviePlayerViewController with transparent background?

Hi, i´ve added a MPMoviePlayerViewController instance and playing of a movie works great. I´ve 3 buttons and want to load different videos in a UIView-container. That works, too. But if i click on a button to load an other video, everytime the background is flickering black. I´ve set the color to "clearColor": player.moviePlayer....

Video speed is lke 3x normal when I play it in a device...

Thing is, when I test my movie on the iphone simulator, the video speed is ok, but when I play it on the device, an iPhone, the video speed is like 3x faster than normal... This is my code: mMoviePlayer = [ [MPMoviePlayerViewController alloc] initWithContentURL:[self movieURL] ]; mMoviePlayer.moviePlayer.controlStyle = MPMovie...

MPMoviePlayerController and local m3u8 files

I'm trying to load an m3u8 file that's saved to the local filesystem, but the MPMoviePlayerController refuses to play it, citing "m3u8 is not a supported media type". However, the same m3u8 file plays perfectly fine when I'm accessing it on a remote media server. Is there any workaround that can be used to play local m3u8 files? ...

MPMoviePlayerViewController / MPMoviePlayerController will not play the same movie twice ?!

Steps to replicate: 1. Call playMovieAtURL. Use this url: (http://nov8rixstorage.blob.core.windows.net/searchpad/tutorial_portrait.mov) 2. Let the movie start then press Done. 3. Call playMovieAtURL again using the same URL. Result: MPMoviePlayerViewController animates in; flashes a few times; and closes with error in notification obj...

Possible to embed multiple MoviePlayer instances on a iPad-screen?

Hi, is there a way to play multiple movieplayer-view at the same time? I´ve tested that with 3 different buttons which loads a video in there own view. But only one instance is playing at the same time. The other videos stops playing. Is that true or did i something wrong? Is that possible? Thanks ...

getting error while trying to play an mp3 in mplayer

iam trying to play a mp3 song through movieplayer in linux but iam getting these errors instead Totem could not play 'file:///root/Desktop/song.mp3'. you do not have the necessary plugins and need to install those. and then this - Internal GStreamer error: state change failed. Please file a bug at http://bugzilla.gnome.org/enter_bug...

How to access the "isPreparedToPlay"-property within a "MPMoviePlayerController"-instance?

HI, i´ve created a new MPMoviePlayerController instance and init that with a contentURL like this: player = [[MPMoviePlayerController alloc] initWithContentURL:[NSURL fileURLWithPath:url]]; player.view.frame = rect; [myView addSubview:player.view]; [player play]; Although "play" is a instance variable of the "MPMediapl...

MPMoviePlayerViewController Black Screen issue!

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...

iPhone 4.0 problem.. MPMoviePlayerViewController , AVAudio APIs

I'm making iphone program. The main function is playing video files, and recording sound. OS 3.1.3 version is fine. But iPhone 4.0 makes problem!! When I executed playing video (MPMoviePlayerController) and continuously recording sound (AVAudioRecorder), AVAudioRecorder doesn't work.... No recording..! ;o; Somebody help!! ...

MPMoviePlayerController, disallow fullscreen but allow navigation through clip?

I have a video in my iPad app, but I dont want it to be able to go to fullscreen. However I do potentially want the user to be able to navigate to the part of the video that they want to see. As far as I can tell there are only three options for the controls that you give the user: None, Embedded, or Fullscreen. None gives the user no ...

Properly displaying and dismissing fullscreen MPMoviePlayerController in iOS 3.2 (iPad)

I'm having lots of trouble displaying a fullscreen movie in my iPad app and then allowing the user to dismiss it with either the Done button or the "un-fullscreen" button on the player controls. Initially I was using MPMoviePlayerViewController for the movie presentation, but I wasn't receiving the enter/exit fullscreen notifications fr...

MPMoviePlayerController not working in iOS4

I'm using the first answer from http://stackoverflow.com/questions/3130363/ios-4-mpmovieplayercontroller to try and get MPMoviePlayerController to play. In the simulator (iPhone device with iOS4), I hear sound but no video. On the device (iPhone 3GS and iOS4), I don't get anything. Here's my code: MPMoviePlayerController *moviePlaye...

MPMoviePlayer No Longer Seeks Forward and instead gives warning.

So it appears as though my MPMoviePlayer no longer wants to seek forward, despite it being the case that seeking is done internally by the MoviePlayer, so all I should be doing is setting up notifications in order to know that seeking is occurring. So I setup my notification as such: [[NSNotificationCenter defaultCenter] addObserver:se...