Auto-close lightbox/colorbox when video is finished running

Hi. I have a series of Flash videos that play in a jQuery lightbox (Colorbox) that overlays the page from which the video is launched, and I need to know if it’s possible to automatically close the lightbox when the video has finished playing. I need to be able to do this WITHOUT changing the video files themselves. Is this possible using just Javascript?

Thanks for any help!