Awesome thank you, the issue was regarding some people having difficulty with the normal recaptcha and causing people to just give up and leave the site.
Thanks!
Hey Anthony,
Not sure if its possible as I havn’t worked with php/wordpress plugins.
But I would store the index of the array and the video url for the currently active video in a temp variable.
So at the start the variable would hold:
{
index: 0,
url: ‘8ucCxtgN6sc’,
}
then whenever another video is clicked, the temp variable will store the clicked videos data and index-1 and then it is also removed from the array of videos to be displayed from the user.
When the user clicks a new video, the current temp variable will be pushed back into the array at the index.
Now I am not sure if wordpress is reactive and if not you could instead of removing them from the array just set the currently active video in the array to:
‘visibility’: false; via css which might be a lot easier.
I don’t really want to use the popup, but thanks!