Re: about playing quicktime movies in Cocoa
Re: about playing quicktime movies in Cocoa
- Subject: Re: about playing quicktime movies in Cocoa
- From: Gonzalo Castro <email@hidden>
- Date: Thu, 16 May 2002 10:03:47 -0400
Tony,
You're on the right track. Try using an NSURL like this...
NSURL *movieUrl = [NSURL fileURLWithPath:@"/your/path/here"];
NSMovie *myMovie = [[NSMovie alloc] initWithURL:movieUrl
byReference:YES];
Gonzalo
email@hidden
Date: Wed, 15 May 2002 21:18:01 -0400
From: Antonio Inojal <email@hidden>
To: email@hidden
Subject: about playing quicktime movies in Cocoa
...
parameter to indicate the file location. This works very nicely. I tryed
looking for a similar initializer in NSMovie but all I found was -
initWithMovie: and - initWithURL:byReference:
So far initWithURL is the best choice. But who wants to access a file by
a url? At least for such a simple task I don't want it. The other,
initWithMovie: , asks one to send an NSMovie to it...
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.