Added: 1 year ago
From: iBradapps
Views: 7,257
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (44)

Sign In or Sign Up now to post a comment!
  • Hi Just wondering on when you could put up a later version e.g 4.2 would be great

    Many thanks 

  • @DeePInspiratioNDeV I have been extremely busy working on apps in the store and new apps that are coming out, I will try to have it out within the next month.

  • @iBradapps Okay , thank you very much.

  • Good combination: source + video.

    Question. I am new and would like to make clean apps. Please talk about your memory management used in this tutorial and its strengths and weaknesses.

    David

  • @Davidka1978Xoroshiy Ok so pretty much in iOS 5 there is a new feature called ARC (Automatic Reference Counting), that will automatically release, autorelease, and dealloc for you. I can talk about memory management for hours but I think it is easier and summarized up in Apple's doc here: w w w.developer.apple.com/library/­mac/#documentation/Cocoa/Conce­ptual/MemoryMgmt/Articles/Memo­ryMgmt.html

  • how do you make the video landscape instead of potrait

  • @xenonaxel007 it happens automatically when you turn to landscape. If you want movie to play only in landscape, it is possible by limiting the orientation properties. i have not had success with it, so if you find an answer, post link here. thanks :-) David

  • Hi,Houston.... we got a problem!!

    when I simulate and press the button to play, the simulator stop and a error appear in green color on 'main.m' code: Thread1: Program received signal: "SIGABRT". Whats is this?? Thanks a lot

  • @calvinh4 Did you manage to figure that out? There should be a message in the console but I think it is a problem only on your end since as far as I know, this works for others on iOS 5+

  • Source code found.

  • found it.

  • Great Video. Where can I find source code files????

  • saved me a lot of time. Thanks!

  • Ok so since everyone is saying that there is problems with this tutorial where the video plays and the audio does not, I will make a new tutorial in a few weeks that should work for 4.2, 4.3 and iOS 5. I will also update the name of this tutorial to be more specific.

  • Hi ive tried your code, played the video but got no audio. Using 4.2 and iOS 5.

  • For all of you having trouble with 4.2 and later, if you get a crash log, PM it to me and I will take a look at it. I will also look into the code for iOS 4.2 and later. I will probably update the code in the next few months but double check that you got everything correct from the video.

  • Hey, great video. I sadly am trying to add video for an ipad app, everything compiles good, but the program just closes when I try to hit my video button. Any chances of a code update for 4.2? Thanks in advance...

  • @iBradapps I can't get this to work....when i press the play button, it brings up the player but won't play the video...it as the time of the the video on there too....any ideas how to get this to work?....Also, I'm using an iPad

  • @lbush26 nevermind..my video was to big thats why it wouldn't load

  • I'm trying to load a movie from a server, so I copied the code strating with the NSURL line, replacing moviePath with a @"" with an online video url. When I press the button, it slides into a white view with no controls or movie. What am I doing wrong?

  • Hi, thanks for the tutorial. I copied the code into my sample project (4.2) but all I get is a grey screen in the simulator as soon as the app starts. Am I doing something wrong?

  • @bsrdwild Did you make a button and link the action to it in Interface Builder?

  • Great Tutorial

    Could you advise how to play three videos with three play buttons on the opening screen. Thanks

  • really nice mate.

    how you remove the play button. i want the video to play once the app starts. like a video splash screen.

    Thanks

  • @tsitsosdmn If you want the video to start when you switch to a new view, put the code into the viewdidload in a viewcontroller, but if you want it to start when the application loads, just put the code in the applicationdidfinishlaunching method

  • @roboticsboy Did you type the code from the video or try the sample project? If you copied it from the video then download the source code and copy it directly from there. Let me know how it goes since I didn't try it in 4.2 yet (if that's what your using)

  • @iBradapps Can you please let me know where in the code does this line go? I tried everywhere I can think of and I get errors, please help

  • Thanks, but this is the code and if I add the repeatMode I get an error. Can you please let me know where exactly this code is added for the movie to repeat? Thank you.

  • @fslail try  theMovie.repeatMode = MPMovieRepeatModeOne

  • Can you please let me know how to make the video loop again and again. My video is a short animation and I need it to keep going. Thank you so much

  • AHHHHH, thank you!!!! I have not had sound since the 4.0 upgrade... after multiple examples, this one solved it! excellent video, man!!

  • Hi, thanks for the video. I thought that MPMoviePlayerController and MPMoviePlayerViewController were sorta mutually exclusive. In other words, you use one or the other, but not both. So I wonder if your code would work without the lines that refer to MPMoviePlayerController.

  • Comment removed

  • thank you sooo much. all the tutorials I found on the internet were for older versions. This saved me so much time :D

  • Why does mine have 2 errors:

    "_OBJC_CLASS_$_MPMoviePlayerVi­ewController", referenced from:

    and

    "_OBJC_CLASS_$_MPMoviePlayerCo­ntroller", referenced from:

    btw im using a table view. will that matter?

  • Comment removed

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