I am trying to play number of videos using MPMoviePlayerController. And that number of videos are showing on tableview . Before completion of one video press "Done" button and come back to tableview. If again i want to click on same song which i played before , that will start to play on that time i.e last spot time. Can you please help ...
How can this Possibly return non-nil on iPhone 3.1.3 (3g iPhone)?
- (BOOL) isIOS3_2OrAbove
{
Class mplayerControllerClass = NSClassFromString(@"MPMoviePlayerViewController");
if(mplayerControllerClass != nil)
{
NSLog(@"MPMoviePlayerViewController not showing NIL! It is: %@\n",[mplayerControllerClass description]);
return YES;
...
Hi ,
I am trying to use the property of MPMoviePlayerController i.e "currentTime". But its showing warning "warning: 'MPMoviePlayerController' may not respond to '-currentTime' ". Can you please help me for how to use this property.
Actually i am trying to find out the duration of time for played video . So that i will check with ti...
Hello all,
Till yesterday My MPMovieController was wokring fine in iPhone SDK 3 . But yesterday when I upgraded the SDK ti iphone SDK 4 my movieplayer stops working it is giving me a deprecation warning on the following line (They have deprecated lots of methods )
moviePlayer.movieControlMode = MPMovieControlModeDefault;
My full code...
Hi all,
I'm using a single instance of MPMoviePlayerController to playback short clips (3-10 Minutes) via HTTP-Download in an iPad-Application. This usually works nicely, but in rare cases the following pattern occurs:
A video starts playing (usually 1 up to 4 seconds of it)
The playbackState switches to MPMoviePlaybackStatePaused. Th...
I am building an application with iPhone SDK 3.1.3.
All I am trying to do is play a 2 Minute(11MB Filesize video) and loop it.
I have code that works find on the simulator, iPhone 3G & iPhone 3GS, but not on an iPod TOuch 8GB.
When I run the code on the iPod Touch, it gets to the line:
movPlayer = [[MPMoviePlayerController alloc] init...
Hi
I discovered a strange behavoir of the MPMoviePlayerController on the iPad. I created an application for the iPad where you can choose different media (audio/video) from a list. The chosen media ist played on a detail view. There's no problem with playing audio and I can play every video at least once. The problem occures only when I...
I am trying to programatically create an image from the current frame of a MPMoviePlayerController video. I am using renderInContext called upon the player's view.layer however the image that is created is all black with the video player controls, but I am expecting to see the current frame of the video
My code (http://pastie.org/10200...
I have an MPMoviePlayerController that I am presenting modally. The video loads fine, however just before the video is launched the screen turns white until it has loaded. How can I prevent this from happening?
moviePlayerViewController = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL URLWithString:mySTVideo.video_url]];...
Hello,
I'm writing an app that will be playing videos alot using the MPMoviePlayerController on the iPad. The problem is the app was working fine and playing the videos when I stopped working about 15 hours ago but now the videos do not play. The MPMoviePlayerController will show the first frame from the video, and in full screen view ...
I find MPMoviePlayerController.h,there is
enum {
MPMovieLoadStateUnknown = 0,
MPMovieLoadStatePlayable = 1 << 0,
MPMovieLoadStatePlaythroughOK = 1 << 1, // Playback will be automatically started in this state when shouldAutoplay is YES
MPMovieLoadStateStalled = 1 << 2, // Playback will be automatic...
Hello Guys ,
I am playing an video from url using MPMoviePlayerViewController class and it is working fine in all version of 3.(3.0,3.1,3.1.2,3.1.3)but in iOS4 video is not playing ? Have any one track this issue ?
thanks
...
Hi
I've been developing an iPhone using xcode 3.2.2 and using 3.O as my base sdk. Recently I upgrade xcode to the latest version.
As I understand from reading posts on here I've found out if I set my base sdk to 4.0 and my development target to Os 3.0 my app will run on devices running Os 3.0 and upwards.
I've been using MPMoviePlay...
Hi,as the title,when i play movie using moviePlayer I want to know when the playControllerBar will be dismiss,so that i can control my view added in moviePlayer .
Is there anyone know that?
Tell me ,thanks .
...
I am trying to load a short movie file (.m4v) before the application starts
However, when I using the ipad simulator, only the sound plays. There is no video running.
If I change the simulator to iphone simulator, the video plays just fine.
I use MPMoviePlayerController to play the movie file
I even downloaded the sample mediaPlayer f...
As i know
moviePlayer.duration
can get the duration of a movie, i know
playableDuration,
initialPlaybackTime,endPlaybackTime,
but i want to get the current playback time of the moviePlayer .And if there has this method,which Notification should be sent to where,thank you!
...
I am running an intro movie in a MPMoviePlayerController and i've got a problem with the allocated memory not being released.
When the movie finishes, Instruments shows the memory being released.
However when i skip the movie by tapping on it the memory is not released.
Here are the important parts of my code:
- (void)applicationDidFini...
Hi
The problem is the following:
I have an application in which all viewcontrollers are portrait only 9typical tabbar/navigation app), but I would like to play a move in fullscreen landscape mode. This seems impossible in iOS4 ...
The best I could come up with was to add the mpmoviecontroller view to my parent view and rotate it by ha...
I would like to stream a video from a website, and build a local cache of the played videos. This way the user could stream the video and replay it from local iPhone storage. I would prefer not pre-download the video before playing it to offer a better user experience.
If the MPMoviePlayerController approach is not feasible, could I sta...
Is it possible to use the MoviePlayer and the MusicPlayer at the same time within an app?
This doc http://developer.apple.com/iphone/library/releasenotes/General/RN-iPhoneSDK-4_0/index.html implies it should not be a problem:
"In iOS 3.2 and later, the MPMoviePlayerController class now defaults to share the application's audio sessio...