prettyPhoto Edit for SSL
Hi guys,
We encountered a situation where running our BeTheme website on https, prettyPhoto was blocking YouTube video when clicking Call to Action play icon and prettyPhoto popup emerged. FireBug gave us "Blocked loading mixed active content" error.
Therefore, we edited the jquery.plugins.js file and changed http://youtube.com/embed/ to https://youtube.com/embed/ on line 53 and it corrected error. How can we implement this in a way that future updates to BeTheme does not override this? Thanks.
Comments
unfortunately this is external plugin which is related with plugin's author and there is nothing what we can do with that. We checked this file and you're right, there is many http:// hardcoded. The only way to keep this file is keep it on server with other naming, ex: _jquery.plugins.js and also you can keep it on computer and after each theme update you need to go back to your modified file. Or also just update theme but without this file. There is nothing else what we can recommend because this is technically not possible to do it other way.
Thanks for understanding!
In the past, for example, we changed a php function that was being called by header.php file. Where we put the revised edits in functions.php file under a different function name, and called upon it via new header.php in child theme. Not sure if this can be achieved as easily with this situation. Thoughts?