Xcode Tutorial: How to play a Video
Uploader Comments (ipodtouchhelper09)
Top Comments
-
@frankjtc81 i have the same problem, i eneter the code and i only get sound no video? how can i fix this? thanks!
All Comments (38)
-
does this work with a tab bar application?
-
does it support live live streaming?
-
'movieControlMode is deprecated' i get that when i paste the code... what should i do?
-
it will go to the quick time player in the ipod touch the doesnt play
-
part 2:
tmpMoviePlayViewController.mov
iePlayer.movieSourceType = MPMovieSourceTypeFile; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(myMovieView FinishedCallback:) name:MPMoviePlayerPlaybackDidF inishNotification object:tmpMoviePlayViewControl ler]; [tmpMoviePlayViewController.mo viePlayer play]; }
-
part 1:
- (IBAction)playVideo:(id)sender { NSString *path = [[NSBundle mainBundle] pathForResource:@"Movie" ofType:@"mp4"]; MPMoviePlayerViewController* tmpMoviePlayViewController=[[[
MPMoviePlayerViewController alloc] initWithContentURL:[NSURL fileURLWithPath:path]] retain]; [self presentMoviePlayerViewControll erAnimated:tmpMoviePlayViewCon troller]; -
I have a lot of problems, can you give me your project ?
-
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
-
How can I repeat the Video?
14 years old!
ipodtouchhelper09 2 years ago 4