• 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: URL o' my dreams
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URL o' my dreams


  • Subject: Re: URL o' my dreams
  • From: Andy Lee <email@hidden>
  • Date: Sat, 2 Mar 2002 23:33:01 -0500

At 11:10 PM -0500 3/2/02, Isaac Sherman wrote:
>Has anyone had problems with NSMovieView? I'm not sure where my problems
>lie, in NSMovieView or NSURL. I'm trying to initialize an NSMovie with my
>NSURL (which points to an mp3). However, the line
> movie=[[NSMovie alloc] initWithURL:pathURL byReference: NO];
>sets movie to nil. My URL should be valid. According to NSLog,
>The Path is : (using [myURL path])
>/file:/localhost/Users/charon/Music/SheThinks.mp3
>The Absolute is: (using [myURL absoluteString])
>file://localhost/file:/localhost/Users/charon/Music/SheThinks.mp3
>

FWIW, I am able to load a movie from disk like this:

NSURL *url = [NSURL fileURLWithPath:@"/Volumes/FileDrop/Harry-2001-07-custom.mov"];
NSMovie *mov = [[NSMovie alloc] initWithURL:url byReference:YES];

[myMovieView setMovie:mov];

--Andy

P.S. That subject line could be a catchy name for a bookmark management app... ;)
_______________________________________________
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.

References: 
 >URL o' my dreams (From: Isaac Sherman <email@hidden>)

  • Prev by Date: Re: Bundles as plugins
  • Next by Date: Re: Multiple windows in a doc based app How-To
  • Previous by thread: URL o' my dreams
  • Next by thread: Re: URL o' my dreams
  • Index(es):
    • Date
    • Thread