How do you get an iphone MPMoviePlayer video's total time?
I just want to figure out how to get a video's total time in seconds. Is there video metadata that loads or something? ...
I just want to figure out how to get a video's total time in seconds. Is there video metadata that loads or something? ...
warning: Unable to read symbols for "/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0 (7A341)/Symbols/System/Library/Internet Plug-Ins/QuickTime Plugin.webplugin/QuickTime Plugin" (file not found). I'm not sure, but this causes the movie to take a long time to load. What i meant by play a movie using safari is that I use the s...
I'm adding a subview/overlay starting from the MediaPlayer example project. The difference is that I'm trying to loop using the following code in the moviePlaybackDidFinish notification: moviePlayer.initialPlaybackTime = -1.0; [moviePlayer play]; That weird initialPlaybackTime property keeps the video from flickering on subsequent lo...
Hi! I have two questions about an application that I'm trying to write. First, is it possible to loop video using the MPMoviePlayerController (without calling play again in the moviePlayBackDidFinish method)? When I do it that way it flashes my apps menu screen before playing again. Second, is it possible to stream music (either from ...
I went through the example from apple "MoviePlayer on iPhone" Im trying to overlay on top of the mpmovieplayercontroller, it works perfectly with video clip that is in bundle, but it wont work if i stream the video from the url. the overlay view will just get hide behind the player. is there a way to bring the overlay view up to fro...
Hello, I would like to know if it's possible to have a MoviePlayer in portrait mode. Thanks for your help. T. ...
OK. Some New Query Here. Suppose user taps on a button & video begins to play. Now when video plays, it always in full screen mode. But what do i need is explained below. Video should be played in a portrait mode. (but normally video is played in landscape mode ). How? Thanks in advance for sharing your knowledge with SO... ...
I have a MPMoviePlayerController and it plays fine when I play .mov from a server. I can play multiple movies in a row and I am not encountering any issues. However, I also need to be able to play back some YouTube videos, and have embedded a UIWebView with that allows me to play YouTube videos. Playing several YouTube videos in a row i...
In my application I am changing volume using the MPMoviePlayerController volume property (for fade effects and muting while leaving it still playing). Sometimes, sporadically, when changing the volume, the volume display (what you see when you use the volume buttons on the side of the iphone) will flash and disappear. Is there anyway ...
I have a button that triggers a mpmovieplayercontroller to play out some streaming audio. When the controller is playing everything works as expected and i see the grey quicktime background. However when i stop the player and press the button again, i still hear the audio, but the background is now black. However if i switch to a vide...
Hey, you know when youre wathing a video with MPMoviePlayerController and the user presses the top button to lock the screen, the app goes to sleep, and so does the sound of the video, is there any way to prevent the lock from stoping the sound? If not, is there a way to intercept the lock, to create a "custom lock", to save some battery...
Hi, I'm loading video from external URL in my iphone app. This loading takes few minutes as the control downloads the video. While the video is being downloaded, I would like to display a small snapshot of the video (separate png file) on top of the media player control. This would be similar to the youtube app which displays a snapshot...
When I launch an instance of MPMoviePlayerController for a remote URL, the top bar displays "Loading Movie..." - is there a way to change this message to a custom one? ...
You might have seen video through you tube in iPhone. Normal MPMoviePlayerController has previous, next & play/pause buttons. You tube - player has additional two buttons on it. => Add to favorites on the left side. => Email this video on right side. I want to implement the same for my application. But I am failed to find out the p...
i know if we record video in iphone 3gs the video will be stored in temporary directory.so how do i get the path and play the video using mpmovieplayer? ...
-(void)initAndPlayMovie:(NSURL *)movieURL { // Initialize a movie player object with the specified URL MPMoviePlayerController *mp = [[MPMoviePlayerController alloc] initWithContentURL:movieURL]; if (mp) { self.moviePlayer = mp; [mp release]; [self.moviePlayer play]; } } Here, In above code, We can pa...
I am using an MPMoviePlayerController to play my movies one after another. I release the controller after the play back finishes, but I still see some residual memory in the object allocations instrument...any ideas on this behavior. I am expecting that after the movie finishes and the controller is released, shouldn't the object allocat...
On the iphone, when trying to play a broken url using MPMoviePlayerController the user gets an alertbox with the message "the server is not correctly configured". Is there any way to change this to something more user-friendly? Alternatively, is there any way to get an error status from the player instead of getting this message? Thank...
Hello, I would like to use MPMovieplayerController has a playlist player. so my question is did you success to acheive this ? How to catch when user clicks on next button ? I tried MoviePlayer from apple sample code, in order to add overlay, but it does not help for he next button. thanks for your help. Thierry ** my sanwer ** I c...
Hello, I would like to use a .m3u8 playlist containing remote mp4 files with MPMoviePlayerController, did you success with this ? Does the .m3u8 must contain .ts file ?If not what is the purpose of .ts ? Does next / previous buttons will be enable once the playlist be loaded ? If not, what is the purpose of these buttons ? And last qu...