Error when using a video in background layers (poster not working)

Hello there, There is an error triggered when using a video in background layers and a poster is set
The poster is not showing because of this error :

/wp-content/themes/pro/cornerstone/includes/utility/helpers.php
on line 963 :
$bg_layer_content = ( function_exists( ‘cs_bg_video’ ) ) ? cs_bg_video( $video_src, $$video_poster, $_cd["{$k_pre}video_loop"] ) : ‘’;

there is a double “$” on the $$video_poster variable and it does not seem to serve any purpose.
I removed a $ and its working.

Can it be fix in a futur release ?

Thanks !

Thank you! We’ve corrected this for the point release going out this afternoon.

Thanks for your responsiveness !

Hi @popoche,

You’re welcome! A new release of the update is available, please update your theme to the latest version. To know more about the fixes, you can check them here.

Hope that helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.