• 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
NSMovieView Just Stops Playing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMovieView Just Stops Playing


  • Subject: NSMovieView Just Stops Playing
  • From: Buzz Andersen <email@hidden>
  • Date: Thu, 3 Apr 2003 09:13:54 -0700

I'm currently banging my head against the wall trying to get an NSMovieView instance to behave. I'm using it to allow my app to play audio files (MP3s mostly), and it is working except for one thing: almost invariably, at some point during playback, the playhead (and the audio) simply stop! Usually it stays stopped until one of two things: either I close the panel, or I click somewhere in the NSMovieView area. After I do that, it starts up again with roughly the length of the "pause" elapsed. It's all fucked up!

A few things that may or may not be important:

- It is located in a Panel that is set up as a utility window.

- Anecdotally, I have noticed that it seems like if I actually keep the mouse point in the area of the NSMovieView, it plays successfully all the way through.

- The point where it stops is never constant--even playing the same song twice will produce different results.

The code I'm using is pretty simple:

NSMovie *movie = [[[NSMovie alloc] initWithURL: [NSURL fileURLWithPath: fullPath] byReference: NO] autorelease];
[quicktimeController setMovie: movie];

Any ideas about how to solve this (or even about alternative methods of doing what I'm trying to do) would be hugely appreciated!

--
Buzz Andersen
email: email@hidden
web: http://www.scifihifi.com
_______________________________________________
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: Re: Charting solutions
  • Next by Date: takeValue:forKey and BOOL
  • Previous by thread: Re: Inspector-aware undo in Doc-based app
  • Next by thread: takeValue:forKey and BOOL
  • Index(es):
    • Date
    • Thread