@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.
@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/Conceptual/MemoryMgmt/Articles/MemoryMgmt.html
@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
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+
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.
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
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?
@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)
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.
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.
Hi Just wondering on when you could put up a later version e.g 4.2 would be great
Many thanks
DeePInspiratioNDeV 4 weeks ago
@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 3 weeks ago
@iBradapps Okay , thank you very much.
DeePInspiratioNDeV 3 weeks ago
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 2 months ago
@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/Conceptual/MemoryMgmt/Articles/MemoryMgmt.html
iBradapps 2 months ago in playlist XCode
how do you make the video landscape instead of potrait
xenonaxel007 3 months ago
@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
Davidka1978Xoroshiy 2 months ago
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 3 months ago
@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+
iBradapps 2 months ago in playlist XCode
Source code found.
jule3690 4 months ago
found it.
jule3690 4 months ago
Great Video. Where can I find source code files????
jule3690 4 months ago
saved me a lot of time. Thanks!
mkh343 4 months ago
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.
iBradapps 5 months ago
Hi ive tried your code, played the video but got no audio. Using 4.2 and iOS 5.
andsien 5 months ago
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.
iBradapps 10 months ago
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...
Scottulus 11 months ago
@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 1 year ago
@lbush26 nevermind..my video was to big thats why it wouldn't load
lbush26 1 year ago
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?
lynkynpark86 1 year ago
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 1 year ago
@bsrdwild Did you make a button and link the action to it in Interface Builder?
iBradapps 11 months ago
Great Tutorial
Could you advise how to play three videos with three play buttons on the opening screen. Thanks
craftyclips 1 year ago
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 1 year ago
@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
iBradapps 1 year ago
@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 1 year ago
@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
fslail 1 year ago
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 1 year ago
@fslail try theMovie.repeatMode = MPMovieRepeatModeOne
iBradapps 1 year ago
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
fslail 1 year ago
This has been flagged as spam show
"_OBJC_CLASS_$_MPMoviePlayerViewController", referenced from:
and
"_OBJC_CLASS_$_MPMoviePlayerController", referenced from:
I HAVE THIS ERROR PLZ HEMP ME
obaidjawad 1 year ago
This has been flagged as spam show
@iBradapps "_OBJC_CLASS_$_MPMoviePlayerViewController", referenced from:
and
"_OBJC_CLASS_$_MPMoviePlayerController", referenced from:
btw im using a table view. will that matter?
I HAVE THIS ERRORS CAN YOU PLZ HELP ME!!!
obaidjawad 1 year ago
AHHHHH, thank you!!!! I have not had sound since the 4.0 upgrade... after multiple examples, this one solved it! excellent video, man!!
Bigbrobrett 1 year ago
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.
bobbyciraldo 1 year ago
Comment removed
alexzz1234 1 year ago
thank you sooo much. all the tutorials I found on the internet were for older versions. This saved me so much time :D
paulm597 1 year ago
This has been flagged as spam show
@iBradapps sorry, in hong kong megaupload is blocked...can you send me the sample code to this email: sunnymok615@hotmail.com. Thanks alot!
WeWilRun 1 year ago
Why does mine have 2 errors:
"_OBJC_CLASS_$_MPMoviePlayerViewController", referenced from:
and
"_OBJC_CLASS_$_MPMoviePlayerController", referenced from:
btw im using a table view. will that matter?
WeWilRun 1 year ago
Comment removed
maorguide 1 year ago