Added: 2 years ago
From: ipodtouchhelper09
Views: 21,918
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (39)

Sign In or Sign Up now to post a comment!
  • Hello Thanks, For your Tutorial But how can i Auto replay the Video Without pressing Replay

    can you tell me how to do that ?

  • 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?

  • Comment removed

  • 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...

  • can you send me the email from where you copy the code?

  • 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 I'm sorry but I'm new to xcode and how do I exactly do that?

  • Comment removed

  • @frankjtc81 i have the same problem, i eneter the code and i only get sound no video? how can i fix this? thanks!

  • when i start the app in the simulator the video would not play

  • thanks for taking the time sharing your knowledge.

  • 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

    Video spash screens are still in land scape, check COD zombies lite to see what i mean

  • 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

  • all ya have to do when it is built. you tap the screen and then the controls appear

  • 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

  • How do I integrate YouTube?

  • @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.

  • 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...

  • Great Tutorial, helped me a lot!

    Please you can show, how can add a view overlay with this method?

  • 14 years old!

  • Hey buddy, great video. Just curious, how old are you?

  • How can i pause the video using code... not user control... and by making movieControllerHidden...

  • 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

  • did you figure that out yet ? because i want to know how to do that to..

  • WTF

  • Hey mate thanks a lot!!

  • thanks man. That was a great vid. helped me a lot.

    Keep the good work up! :D

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more