Here are a couple things you can try: First, try unplugging the power completely from the iMac and letting it sit for 1 minute. Then plug it back in and turn it on. Any video?
Other option is this:
When you first hit the power button, press command, option, P, and R all at the same time and hold them down until you hear the apple chime two times. This resets the PRAM, which can fix common video issues.