task Handling Interactions between the Vimeo JS API and SoundManager2 JS API

2013-07-24

I've got a new site coming out for a documentary filmmaker -- well an old site that was on hold for almost 2 years -- that has some background audio (aka "soundtrack") enabled via the SoundManager2 javascript API. The site also has a trailer video (of course), so I had to take advantage of the Vimeo javascript API as well to make sure the two don't create any sound nightmares -- for example, both playing simultaneously. After a little code juggling, it was pretty easy. I set up a listener for when the the Vimeo video is played and then simply pause SoundManager.