Skip Navigation

[Resolved] Views is causing Themeco video to not play

This support ticket is created 2 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 5 replies, has 2 voices.

Last updated by chrisC-25 2 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#2470061

Hi,

I followed instructions in this post:
https://toolset.com/forums/topic/pro-by-themeco-toolset-blocks-issue/#post-1741585

and am still unable to get video to work. here is link:
hidden link

Here is added code:

add_action('wp_print_styles', 'ts_dequeue_styles', 1);
function ts_dequeue_styles()
{
    if ( is_page( array('kidzboptv', 'kidzbopplus') ) ) // Edit pages to exclude TS pagination styles
    {
        global $wp_styles;
        wp_dequeue_style('views-pagination-style');
    }
}
#2470305

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share admin access details as well as share details about where you added the code you shared and let me review the settings and get back to you.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2473315

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

It does not seem to be Toolset issue as the cornerstone video field requires Embed code and you just added the video URL to it.
=> hidden link

Either you should upload the video you have to youtube.com and then get the embed code and add the embed code to the video field or you can use the following code:

<iframe width='640px' height='360px' src='<em><u>hidden link</u></em>' allowfullscreen></iframe>
#2473469

Thanks, that is actually not quite right. I have many sites using themeco and I only need to add the url. No need for full embed.

And, when I disable "Views" it works. So clearly there is a conflict with Views.

Thanks

#2474649

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Could you please check now: hidden link

I've adjusted the code added to functions.php file as given under:

add_action('wp_print_styles', 'ts_dequeue_styles', 1);
function ts_dequeue_styles() {
    if ( is_page( array('kidzboptv', 'kidzbopplus') ) ) // Edit pages to exclude TS pagination styles
    {
           global $wp_styles;   
	  wp_dequeue_style('view_editor_gutenberg_frontend_assets');
	  wp_dequeue_style('views-pagination-style');
		
    }
}
#2474879

My issue is resolved now. Thank you!