Before we launched, the Video Lightbox was behaving perfectly, i.e., when you clicked the play button, the video would appear in a pop-up in the same browser window.
We then launched our website.
Now, when you click the play button, the video pop-up appears but immediately thereafter another browser window opens and navigates to the video in our Vimeo account. You can see this by selecting any of the videos on the referenced Video Tutorials page of our website.
Try Switching to the Magnific Lightbox Library in Salient Theme Options Panel -> General Settings-> Functionality as that supports https . If there is a plugin compatibility issue set "Theme Lightbox" to "None" .
If you have Page Transitions Turned On Please Switch the Animated Transition Method to "Standard" in Salient Theme Options -> Page Transition Section.
Could you try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
The onclick statement is what messes everything up. If we remove that, the code works the way it is supposed to.
The problem is that we can't find anyway to permanently prevent the code -- whatever code it is -- from inserting that statement. I even added a Raw HTML element to the page and copied all the lightbox code EXCEPT the onclick, updated, and previwed. But upon inspection we found that the onclick has been reinserted into the HTML for the page.
What piece of code is doing that? Is that Salient?
Hi,
Before we launched, the Video Lightbox was behaving perfectly, i.e., when you clicked the play button, the video would appear in a pop-up in the same browser window.
We then launched our website.
Now, when you click the play button, the video pop-up appears but immediately thereafter another browser window opens and navigates to the video in our Vimeo account. You can see this by selecting any of the videos on the referenced Video Tutorials page of our website.
Any idea what caused this, and how to fix it?
Thanks,
Brett
Hey,
Try Switching to the Magnific Lightbox Library in Salient Theme Options Panel -> General Settings-> Functionality as that supports https . If there is a plugin compatibility issue set "Theme Lightbox" to "None" .
If you have Page Transitions Turned On Please Switch the Animated Transition Method to "Standard" in Salient Theme Options -> Page Transition Section.
Also be sure to check/uncheck this Disable Fade Out On Click option : http://prntscr.com/8f3bj7
Moreover if it doesnt work Turn off the Page Transitions and check for Browser Console Errors : https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors
Thanks
ThemeNectar Support Team
Hi Tahir,
None of that worked. Any other ideas?
Brett
Could you try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
Best
ThemeNectar Support Team
Hi Tahir,
We are in the process of trying to copy our website so that we can take the steps you suggested.
In the meantime, we have ascertained that some piece of code is inserting the the following "onclick" code into the HTML for page:
onclick="javascript:window.open('https://vimeo.com/301395149')
See attached.
The onclick statement is what messes everything up. If we remove that, the code works the way it is supposed to.
The problem is that we can't find anyway to permanently prevent the code -- whatever code it is -- from inserting that statement. I even added a Raw HTML element to the page and copied all the lightbox code EXCEPT the onclick, updated, and previwed. But upon inspection we found that the onclick has been reinserted into the HTML for the page.
What piece of code is doing that? Is that Salient?
Thanks,
Brett
I dont believe Salient is doing this.
Could you check if there is any external script that is causing this ?.
Best
ThemeNectar Support Team