Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1344037

    Hallo,
    I have two problems.

    First one belongs to youtube videos. On my video-page only the first video is working normally.
    1) Borlabs is working fine
    2) and I can start the video with the play button.

    The second video below isn’t working fine: no Borlabs cover on the video and no play button, just a link on top of the video.
    Why?

    Second: Then I realized that because of the special enfold form on every page the reCaptcha code runs, not just on the contact page. How can I disable this?

    Thanks

    #1345012

    Hey NorthcoastProject,

    Thank you for using Enfold.

    Are you using the default Video element from the builder? Please note that this element is not integrated with the plugin, so it won’t apply the borlabs cover automatically. You may need to manually embed the video instead of using the builder element.

    To disable the recaptcha scripts on all pages except for the contact page, try to use this filter in the functions.php file.

    		add_filter("avf_load_google_recaptcha_api_prohibited", function($prohibited) {
    			$prohibited = true;
    
    			if( is_page( array(1, 2, 3) ) ) {
    				$prohibited = false
    			}
    
    			return $prohibited;
    		}, 10, 1);
    
    

    Make sure to place the actual ID of the contact page in the array within the is_page function above.

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.