Re: NSMovieView blocks Energy Saver
Re: NSMovieView blocks Energy Saver
- Subject: Re: NSMovieView blocks Energy Saver
- From: Stéphane Sudre <email@hidden>
- Date: Sat, 23 Oct 2004 23:01:36 +0200
On samedi, octobre 23, 2004, at 09:35 PM, Michael Diehr wrote:
I'm using a NSMovieView inside a ScreenSaverView to play back
quicktime movies. It works fine, but I notice two significant
problems:
1. the NSMovieView captures mouse clicks and key presses (so that if
the user hits the space bar or clicks in the window, instead of
exiting the screensaver the movie simply pauses).
Override the mouseDown: and keyDown: methods in a subclass of
NSMovieView?
You can find some source code doing this here (though I don't prevent
space bar hits):
http://s.sudre.free.fr/Software/SaveHollywood.html
2. The energy saver will never kick in when the movie is playing.
Is there any way to tell QuickTime and/or the Energy Saver control
panel to honor energy saving settings while a NSMovieView is playing?
This is a "feature" which was introduced in Mac OS X 10.1 because
someone discovered that when you were watching a long QuickTime movie,
it was not great to have the computer go to sleep during the show.
Last time I asked the question on the QuickTime mailing list, I saw no
answer. I didn't find a clue in the QuickTime documentation when I had
a look at it but this was sometimes ago.
_______________________________________________
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