views:

2212

answers:

4

Hi everybody.

I'm looking for a solution concerning the overlays on a streaming. In fact, I started from the Sample Code MoviePlayer but a little problem occured. I'd like to load my Streaming Video from my local Server on my iphone by using MPMoviePlayer. First, I decided to test the MoviePlayer supplied By Apple on their website and when I changed the local URL by my own URL, I'd would like to see to appear my streamingMovie with the Label Overlay and the Button Overlay, but finally, the URL is correctly loaded but the overlay appears only during the short loading of the movie then disapears when the Streaming video is playing. I don't understand why.

please Someone could help me? :p

Thanks

PS: I'm a french engineer student so my english level isn't perfect. Sorry :$

A: 

Hi,

Try addind the following line:

MPMoviePlayerController* theMovie=[[MPMoviePlayerController alloc] initWithContentURL:theURL]; 

    theMovie.movieControlMode = MPMovieControlModeDefault;

hope this will help ;)

see I have added an answer over here.http://stackoverflow.com/questions/1356540/overlay-on-top-of-streaming-mpmovieplayercontroller
sugar
A: 

I got the same problem. Any solutions?

Sam
see I have added an answer over here.http://stackoverflow.com/questions/1356540/overlay-on-top-of-streaming-mpmovieplayercontroller
sugar
+1  A: 

i think you will probably get your answer here. http://stackoverflow.com/questions/1356540/overlay-on-top-of-streaming-mpmovieplayercontroller

Thanks & Regards, Ravi.

Jim
see I have added an answer over here.http://stackoverflow.com/questions/1356540/overlay-on-top-of-streaming-mpmovieplayercontroller
sugar
+1  A: 

see I have added an answer over here.

http://stackoverflow.com/questions/1356540/overlay-on-top-of-streaming-mpmovieplayercontroller

sugar