fancyapps/fancyBox — pull request #326 by markashleybell (2012-08-02 10:12:20+00:00)
Title: Added support for direct Vimeo player URLs in the media helper

Hi,

I've just been integrating fancyBox with a client's site and come across an unusual use case; the client hosts their videos on Vimeo, but has hidden them from public view on Vimeo itself. This of course means the media helper doesn't work, because it can't find the video using the standard Vimeo url (which will return a 404).

I've tweaked the href regex slightly so that it matches the direct player/embed URLs as well as the standard ones. In the page we just link directly to the player URL and the helper seems to work nicely again.

I thought this might be a simple tweak you could integrate, in case anyone else encounters this use case.

Kind regards,
Mark B