mpmovieplayercontroller

Customizable non-full screen video player in iPhone

Hi, I know that there is an MPMoviePlayerController present in iPhone to play movies from. But it isn't customizable in the real sense. Also, if I wanted to play movies is a non-full screen mode, it isn't possible today. I wanted to inquire if anyone knows about the future roadmap of iPhone SDK, is there going to be any such customiza...

Playing movie in Potraitmode in iphone using MPMoviePlayerController Class

Hi All, Is it possible to play the movie in potrait mode using MPMoviePlayerController Class ? Any suggestions or any alternative methods for achieving this ?? Thanks ...

mpmovieplayercontroller stop function, and then play with current time (iPhone)

Hi all, I have this situation: Play (streamed) video, stop by code the video, and then play again. The problem is that the video is begin from the start and not when i stopped it. What solution do you now of? tnx ...

how to know that MPMoviePlayerController is playing in Iphone OS 3.0

Hi everyone! I need to know if at an specific moment the MPMoviePlayerController is playing. In iphone 3.0 it is not firing the MPMoviePlayerContentPreloadDidFinishNotification. Does anyone knows any solution? Thanks in advance! ...

MPMoviePlayerController - streaming works on 3GS, not on anything pre-3GS

I am having some serious issues and annoyances with MPMoviePlayerController. In my app you can watch trailers for some movies in .mov format. I have tested with a friend and had users report that it does not work on their device, which are all 3G. I have tested on my own, a 3GS and playback works fine. I have tried on a 1st gen iPhone a...

Movie Player shows Default.png image in background while loading (OS 3.1.2)

Hi, I'm using MPMoviePlayerController to stream audio/video files from a servrer. It works great on all other OS versions. However, on 3.1.2, it shows the Default.png image (used to display at app splash screen) in the background while the movie loads. It only happens for the first time and the player works fine (no image in background)...

MPMovie player how to get the amount of time played??

I was trying to go through the iPhone's sample code for mediaplayer. I want to be able to capture the amount of time the media player has played the video. The duration at which the media player has stopped. Is there a method or property that will tell me the duration of play of the media?? ...

MPMoviePlayerController release problem

here is code - (void)applicationDidFinishLaunching:(UIApplication *)application { NSBundle *bundle = [NSBundle mainBundle]; NSString *moviePath = [bundle pathForResource:@"sample_mpeg4" ofType:@"mp4"]; NSURL *movieURL = [[NSURL fileURLWithPath:moviePath] retain]; MPMoviePlayerController *moviePlayer = [[MPMoviePlayerController al...

MPMoviePlayerController - unable to play movies in my app on < 3GS (3GS is fine)

In my app, I have some movies playing. I have checked the information for the movies and they appear to be within what MPMoviePlayerController should be able to handle (bitrate, etc.) They're streaming from a URL, and it will only play on a 3GS, nothing lower. I have tried to collect the error from the notifications in MPMoviePlayerCont...

How does overlayViewTouched notification work in the MoviePlayer sample code

Hi, I have a question regarding the MoviePlayer sample code provided by apple. I don't understand how the overlayViewTouch notification works. The NSlog message I added to it does not get sent when I touch the view (not button). // post the "overlayViewTouch" notification and will send // the overlayViewTouches: message - (void)overlay...

How to get notification iPhone device orientation when MPMoviePlayer is palying?

I have added notification observers for UIDeviceOrientationDidChangeNotification in my appDelegate. But it is not getting called when movieplayer is visisble. But works fine with other views. ...

simulating touch on MPMediaPlayer

Hi, I want to simulate the touch over MPMoviePlayer ( making the controls visible and not). I am adding an overlay and i have some touch events for the overlay view. Currently the overlay view will respond to the touch and do the rest. but i want the send teh same touches to MPMoviePlayer to make the controls visible at the same time. ...

Streaming .mov memory issue

I've recently posted a question regarding MPMoviePlayerController and issues I have been having with getting movies to stream on anything pre 3GS or iPod touch 2G, for what I believe was an issue with too little memory. I have now investigated a bit more and run it through Instruments, which has revealed weird memory usage, even after t...

Download video before view Iphone sdk

Hi, I am developing an application that requires to play some video. However I do not want to pack the videos with application. Instead I would like to download videos in the NSDocumentDirectory and then play from there using MPMoviePlayerController. Anybody any Idea how could I download the video from a url? Thanx, Gezim ...

iphone sdk: playing video from localhost?

Hi guys, I have a server socket (on port 3490) in my app which has a video data - It runs on a different thread. Now I have a mpmovieplayercontroller and would like to read the data from the socket and play it. I'm not sure what url should I pass to it. I've tried file://localhost:3490 http://localhost:3490 but this doesn't work. Pleas...

iPhone SDk : MPMoviePlayer - Is it possible to add fast forward and rewind functionality

Hi All, I would like to add fast forward and rewind functions to a MPMoviePlayer, but we have Play/Pause default options in the parent class. Is it possible to develop custom fast forward / rewind? if its not possible what would be the alternative solution to it? please help. ...

iPhone Prevent application to automatically change orientation to portrait when a video stop

My application is in landscape mode and I use MPMoviePlayerController to play an sample video. It works fine but when I stop the video with the OK button (or if I wait until the movie ends), the orientation automatically changes to portrait. Is it possible to keep application in landscape mode when the OK button is pushed ? I use the f...

iPhone video control and dual video playback

Hi, I need a way of controlling video non-fullscreen in my application. I've played around with both MPMoviePlayerController and a solution using UIWebViews. I have found one solution using MPMoviePlayerController where I can prevent the video from going full screen (by grabbing the key window and set a transform on the UIWindow objec...

How to stop Video download in MPMoviePlayerController

Hi, I have a requirement where I have to play a video file which is available in remote location. I am passing the URL to MPMoviePlayerController instance and called the method play. Now, the movie is downloading. I have clicked on the "Done" button before the movie loads completely and came back to the rootview. MPMoviePlayerPlay...

MPmovieplayer preload progress

Hello, I was wondering if there is any way to add a progress bar that monitors how much more of a movie needs to be downloaded before preload is done. Right now I just have a uiactivity indicator but I was wondering if there is any way to do this with the private classes. Any help would rock thank you. Enea ...