Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #956319

    Dear support,
    I’ve been trying to fix any issues on my site that show up on GTMetrix, and one of the issues shows to avoid URL redirects. When I clicked to see what URLs it was talking about, it showed that this:
    https://fonts.gstatic.com
    https://googleads.g.doubleclick.net
    https://s.ytimg.com
    https://static.doubleclick.net
    https://www.google.com

    I am loading the google fonts of my own server and deactivated google font loading in functions.phph:
    add_action( ‘init’, ‘enfold_customization_switch_fonts’ );
    function enfold_customization_switch_fonts() {
    global $avia;
    $avia->style->print_extra_output = false;
    }

    I also deactivated all plugins, nothing changed. After switching to the wordpress default theme the calls to the google sides were gone. Do you have an idea what is happening here?

    #956452

    Hey dondela,

    Thanks for the login details, I think those calls are due to the Youtube video you are using as a background on the front page. What happens if you remove the background video?

    Best regards,
    Rikard

    #956462

    Hey Rikard,
    you are right, after removing the youtube video there are no more calls to google. You know a way to include the Video without connecting to google?
    Thanks dondela

    #956826

    Hi,

    Yes, you would have to host the video locally instead :-)

    Best regards,
    Rikard

    #956870

    Thanks for that tip :-)
    I managed to host the video locally as a mp4 file but it doesn´t show up as a background video now? I posted the link of the private content as backgound video. Is this not the right format?

    #957182

    After the recent theme update it works like expected :-)

    #957316

    Hi,

    Great, glad you got it working :-)

    Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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