• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: about playing quicktime movies in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Splitter Views
  • Next by Date: Re: Splitter Views
  • Previous by thread: Re: about playing quicktime movies in Cocoa
  • Next by thread: Memory Card insertion and NSWorkspace
  • Index(es):
    • Date
    • Thread