Fancybox media helper to avoid same-origins