Home Forums General Issues Youtube Oembed field not working


Youtube Oembed field not working

    • Precies

    • February 5, 2020 at 7:11 pm


    We have a website with a lot of Youtube Oembed fields en most of the time they are working but for some strange reason the sometimes stop working.

    In the back-end when you paste the Youtube URL the thumb is not loaded and the video and thumb also doesnt shop on the front-end of the website.

    We have taken a copy of the website and placed this on a differtent server and for some reason the Youtube Oembed field is working there. So we are thinking it has something to do with our hosting provider.

    We allready contacted them but we want to know for sure this could be something with the hosting provider (server)

    Anyone else got this problem before? We really could use some help because this is a live website and all the video’s stopped working now.

    Thanks in advance.

    Kind regards,

    • apsolut

    • February 11, 2020 at 9:23 pm

    @precies Having almost the same issue 7days+, first was thinking it was problem with Plesk – but on another Plesk install its working.

    – When you insert YouTube link – you get just Link in backend and frontend (no thumb, no video..) ?

    – Normal iframe code is working, so it isnt YouTube (block or something like that)…
    – We did try different themes (TwentyTwenty, Twenty Nineteen…)

    • apsolut

    • February 11, 2020 at 10:27 pm

    Just to confirm its working on local development:
    — the same setup (plugins, theme… 99.9% the same content – clone)

    • Precies

    • February 12, 2020 at 7:11 pm


    We fixed the issue by placing the iframe link in another ACF. We did a lot of debugging with our hosting provider and it is because of the API requests you are doing to YoutTube.

    The way we loaded video’s on the front-end did to many requests getting the YouTube thumbnail. Everytime a visitor visits that page there was a request to youtube getting the thumbnail of the video, that is why we were blocked.

    Maybe this wil help you solving your problem? How do you load the video’s in the Front-end?

    Maybe you can post some code?

    • apsolut

    • February 13, 2020 at 12:38 am

    @precies (would be hard to block one video and allow the same video on the same domain, but change in API or Code could be possible)..

    Looks like its not an ACF issue, using default WP oEmbed error is there:
    wp-json/oembed/1.0/proxy? 404
    {"code":"rest_forbidden","message":"Sorry, you are not allowed to make proxied oEmbed requests.","data":{"status":401}}

    – ACF some 5.x, old versions and latest
    – PHP versions: 7.2, 7.3, 7.4
    – WordPress version 5.2.1, …latest
    – Themes: TwentyTwenty, TwentyNineteen, Storefront themes

    • apsolut

    • February 13, 2020 at 9:22 pm

    @precies scope of IPs was blocked , and we were in that scope.

    – easiest way for testing response to see is IP blocked, was login via SSH curl
    – when you are not blocked, there will be more than 10lines of response…

  • Same problem here, I’m subscribing to this topic. It happens on both a local and a live web server. In this case it’s regarding Spotify embeds.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.