I watch a lot of videos on various sites including youtube, google video, etc., and one of my main gripes with the sites is that video does not make your mac think it is busy so it constantly falls asleep while playing a single clip.
In comes the freeware ap Caffeine:
"Caffeine is a tiny program that puts an icon in the right side of your menu bar. Click it to prevent your Mac from automatically going to sleep, dimming the screen or starting screen savers. Click it again to go back. Hold down the Command key while clicking to show the menu."
Very cool ap so far, and now I don't have to use a custom battery setting to keep my mac awake. I love less work!
Caffeine can be downloaded here.