swfobject

SWFObject, YouTubeAPI Chromeless Player and "Error calling method on NPObject!"

I am using SWFObject to embed and control YouTube videos using the YouTube API. I'm putting the videos in a lightboxed player and need to explicitly tell the movie to stop when the lightbox is closed. Mostly...this works great. But I had to crawl around into the nooks and crannies of what works and doesn't work (i.e., try this...fail, try this...fail, etc.) before settling on a less than ideal solution.