The camera in my iMac works for Skype, etc., but iMovie does not detect the iSight or a plug-in camera.
I have a late 2009 iMac, running Yosemite 10.10.5.
iMovie does no longer detects the built-in camera at the top of my screen. The camera does work for Skype and other applications.
Charlie
iMac