Skip to content

Snippet: WPBakery Pageable Container jwplayer Not Working Fix

Basically the way the pageable containers work is by hiding whatever is inside the non-active tabs. Certain players like jwplayer can not properly render the media if it's hidden by default. The following CSS will display all your tabs by default then hide them once the site is loaded. While this will create an unwanted "flash" of the content before the site is loaded it will make things work.

 body .vc_tta.vc_general .vc_tta-panel-body { display: block; }
 body.wpex-window-loaded .vc_tta.vc_general .vc_tta-panel-body { display: none; }
All PHP snippets should be added via child theme's functions.php file or via a plugin. We recommend Code Snippets (100% Free) or WPCode (sponsored)
Back To Top