I'm building a site that contains several videos; each video is in it's own popup layer and is called when a button is clicked. Is there a way to automatically close the popup when the video ends?
I've put a button on each layer and can use it to close the popup, but I really want it to close automatically when the video ends.

(I'm using web designer 9 premium)

Thanks