• 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: NSMovieView blocks Energy Saver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: NSMovieView blocks Energy Saver
      • From: Michael Diehr <email@hidden>
References: 
 >NSMovieView blocks Energy Saver (From: Michael Diehr <email@hidden>)

  • Prev by Date: Re: Global User Agent?
  • Next by Date: Re: DO over network
  • Previous by thread: NSMovieView blocks Energy Saver
  • Next by thread: Re: NSMovieView blocks Energy Saver
  • Index(es):
    • Date
    • Thread