I would like to use the Image Media Element in the Avia advanced editor to load movies from Vimeo in a lightbox using PrettyPhoto. This almost works perfectly accept that the iframe that gets created does not honor the HTTPS setting of the link, and therefor is blocked because the host page is running in https.
Just to be clear. I am setting the link in the Image Media Element to https://www.vimeo.com?id=32423432, but the iframe is getting a HTTP:// based src.
What can I do to fix this. I already have child them of enfold. I can hack if you tell me where to look
Thanks
Todd
So this turns out to be a bug in PrettyPhoto.js. I hacked prettyPhoto in the theme to always do HTTPS. Not great but works in my case.
Can I load my own version of PrettyPhoto via my child theme so it doesn’t get destroyed on upgrade?
( not always sure what I can do through a child theme )
Thanks
Todd
Hey!
Yes you can load a different lightbox script via a child theme but I don’t have the link to one that has a pre-done example off hand. I’ve tagged the topic for Peter as he made one a while back using a different script entirely that will serve as a better example for a quick how-to.
Cheers!
Devin
Hey!
This child theme: http://www.mediafire.com/?05ho02ecut516hu replaces prettyphoto with fancybox and should be a good starting point for your project.
Best regards,
Peter