Hi thank you for the video I tryied and I get an error that i can get rid of tried everything check it out moviePlayer.movieControlMode = MPMovieControlModeDefault; (right here I get movie player undeclared) any thougths thank you
I did everything you said... but when I build that just can listen to the song, and the Ipad simulator stay with panel blank. DO you know something to do?? Thanks a lot...
For some reason it will play only the sound if u run it on iOS4 (Simulator and device), u gotta configure in XCode that it targets to iPhone Os 3.2 when you build it.
@mnapoem I'm using XCode 4 preview version. In the project navigator window you gotta select the name of the app, and then appears the info and build settings tab. In the build settings tab there's an Base SDK row, if it say iOS device 4.0, then change it to iOSDevice 3.2.
Good mini tutorial, he he.. on the funny side if it weren't for the comments I would believe that it was a girls Voice XD Sorry Dude, but after you grow up a little bit that won't happen again :P
@Modview That is not media player you are going to want to look into streaming or UIWebViews and figuring out a way to auto play the youtube video with javascript.
How can i stream an online mms:// stream? Say i want to create an application with like 4 buttons, each when clicked will play an online stream? is that possible? thanks
Hello Thanks, For your Tutorial But how can i Auto replay the Video Without pressing Replay
can you tell me how to do that ?
ahmedalsurmi736 1 week ago
does this work with a tab bar application?
goalie1ify 3 months ago
does it support live live streaming?
Banykhalid 3 months ago
'movieControlMode is deprecated' i get that when i paste the code... what should i do?
Chrisisjustthatcool 4 months ago
it will go to the quick time player in the ipod touch the doesnt play
xenonaxel007 7 months ago
part 2:
tmpMoviePlayViewController.moviePlayer.movieSourceType = MPMovieSourceTypeFile; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(myMovieViewFinishedCallback:) name:MPMoviePlayerPlaybackDidFinishNotification object:tmpMoviePlayViewController]; [tmpMoviePlayViewController.moviePlayer play];
}
3zOoOz777 8 months ago
part 1:
- (IBAction)playVideo:(id)sender { NSString *path = [[NSBundle mainBundle] pathForResource:@"Movie" ofType:@"mp4"]; MPMoviePlayerViewController* tmpMoviePlayViewController=[[[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL fileURLWithPath:path]] retain]; [self presentMoviePlayerViewControllerAnimated:tmpMoviePlayViewController];
3zOoOz777 8 months ago
I have a lot of problems, can you give me your project ?
IhackIapplephone 9 months ago
Hi thank you for the video I tryied and I get an error that i can get rid of tried everything check it out moviePlayer.movieControlMode = MPMovieControlModeDefault; (right here I get movie player undeclared) any thougths thank you
elgrillu 1 year ago
How can I repeat the Video?
MrChris8447 1 year ago
Comment removed
7apples1 1 year ago
I did everything you said... but when I build that just can listen to the song, and the Ipad simulator stay with panel blank. DO you know something to do?? Thanks a lot...
pcdsampaio 1 year ago
can you send me the email from where you copy the code?
Soofi71 1 year ago
For some reason it will play only the sound if u run it on iOS4 (Simulator and device), u gotta configure in XCode that it targets to iPhone Os 3.2 when you build it.
frankjtc81 1 year ago
@frankjtc81 I'm sorry but I'm new to xcode and how do I exactly do that?
mnapoem 1 year ago
Comment removed
frankjtc81 1 year ago
This has been flagged as spam show
@mnapoem I'm using XCode 4 preview version. In the project navigator window you gotta select the name of the app, and then appears the info and build settings tab. In the build settings tab there's an Base SDK row, if it say iOS device 4.0, then change it to iOSDevice 3.2.
frankjtc81 1 year ago
Comment removed
frankjtc81 1 year ago
@frankjtc81 i have the same problem, i eneter the code and i only get sound no video? how can i fix this? thanks!
tardis59 11 months ago
This has been flagged as spam show
This shit doesn't work.
umsplatt 1 year ago
when i start the app in the simulator the video would not play
CodingCommunity 1 year ago
thanks for taking the time sharing your knowledge.
tjsgro 1 year ago
how do i play video in portrait mode? i am trying to make splash screen , or if you know how to do that other way.
Thanks
NpSep1983 2 years ago
@NpSep1983
Video spash screens are still in land scape, check COD zombies lite to see what i mean
RavenRecordsInc 1 year ago
Hey buddy Great tutorial and i wanted to thank you
but i have a question for you ?
Could you possibly tell me how i could add functionality to the Movie player over lay buttons ? like fast forward and rewind
iPhoneCoding 2 years ago
all ya have to do when it is built. you tap the screen and then the controls appear
GoldenHeartedTV 2 years ago
Good mini tutorial, he he.. on the funny side if it weren't for the comments I would believe that it was a girls Voice XD Sorry Dude, but after you grow up a little bit that won't happen again :P
icampana 2 years ago
How do I integrate YouTube?
Modview 2 years ago
@Modview That is not media player you are going to want to look into streaming or UIWebViews and figuring out a way to auto play the youtube video with javascript.
orangegold1 1 year ago
Helllo! thank you very much for your tutorials!
You know how add a view over the video with you method??
because when the videos stops...
oldie 2 years ago
Great Tutorial, helped me a lot!
Please you can show, how can add a view overlay with this method?
oldie 2 years ago
14 years old!
ipodtouchhelper09 2 years ago 4
Hey buddy, great video. Just curious, how old are you?
javinge 2 years ago
How can i pause the video using code... not user control... and by making movieControllerHidden...
anumolugr8 2 years ago
Excellent videos.
How can i stream an online mms:// stream? Say i want to create an application with like 4 buttons, each when clicked will play an online stream? is that possible? thanks
howithink 2 years ago
did you figure that out yet ? because i want to know how to do that to..
Knul 2 years ago
WTF
Pumpy032 2 years ago
Hey mate thanks a lot!!
veterinarian2008 2 years ago
thanks man. That was a great vid. helped me a lot.
Keep the good work up! :D
alexandergre 2 years ago