Dynamic Video Lightbox Help (1)

Sam I tried modifying the embed code and the footer script like this to get your method to work with Vimeo. But I get an “Oops! The embed code for this video is not valid.” error when I publish and click on a video. The error looks like it’s coming from Vimeo so I think I’m close. Appreciate any help - I’m not good at script.