Re: playing a quicktime movie in a QTMovieView
Re: playing a quicktime movie in a QTMovieView
- Subject: Re: playing a quicktime movie in a QTMovieView
- From: "Shawn Erickson" <email@hidden>
- Date: Mon, 16 Oct 2006 16:16:35 -0700
On 10/16/06, Ivan Kourtev <email@hidden> wrote:
Hi,
I have been unsuccessfully trying to load a QT movie and play it into
a QTMovieView. No matter which initialization method I try to use
(for QTMovie) it returns a nil. What am I doing wrong?
Currently I have this -- but like I said, I've tried most appropriate
initializers and can't get it to work.
QTMovie *qtmov = [[QTMovie alloc] initWithFile:@"/Volumes/BigD/Users/
test/movie.mov"
error:nil];
Did you try getting an error back from those methods to see why it is
failing to work?
NSError* error = nil;
QTMovie* qtmov = [[QTMovie alloc] initWithFile:@"movie.mov" error:&error];
if (error != nil) {
NSLog(@"%@", [error localizedDescription]);
}
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden