Google fonts problem even if all plugins disablked

hi there,

i added all google fonts locally, added this to the functions.php:

// disable google fonts api
add_filter( ‘cs_load_google_fonts’, ‘__return_false’ );

but still one google font is loading.
i disabled all plugins but no change…

can you help me?
thanks in advance
harry

ok i found the reason:

i added a youtube video. the video was embedded with the video element.
is there a way to disable googlefonts for embedded youtube videos?

i deleted it temporary

thanks in advance
Harry

Hi Harry,

I have checked your website through the URL and didn’t find any font loading from Google.

Thanks

hi,

pls see my second post. i deleted the embedded youtube video. then no font is loading.
wehen adding the video element eagain, the google fonts loads.
is there a way to disable google fonts for the video element?

thanks in advance

Hi Harry,

The Embedded video might be the reason behind your issue. I would suggest you use any self-hosted video and check if the problem still persists or not. I would also suggest you added the video back to the page and share the exact page URL for further checking.

Thanks

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