Hi @alesego
Sorry to hear you are having this issue.
We will need to replicate this problem, could you describe how your custom fields were created, are you using the ACF plugin?
Also, is it the embed custom field or a different field type?
Had you connected to the YouTube API Key in the plugin settings?
Best Regards
Patrick Freitas
Hi Patrick, thx for your response. I closed de topic accidentaly and i don´t know how to reopen it.
I answer your questions:
– could you describe how your custom fields were created, are you using the ACF plugin? No, I´m using CPT UI
Also, is it the embed custom field or a different field type? is a embed video custom field, in this case “tm_video_url”
Had you connected to the YouTube API Key in the plugin settings? Yes, even I´ve already create a new one and just proving it. Plugin detects all kind of video in the website and within this custom field detect Vimeo, but not YouTube
Best Regards
Patrick Freitas`
Hello @alesego !
I trust you’re doing great!
I’ve tried to replicate the issue according to the details you’ve provided and the result I got was a success in this case:
View post on imgur.com
This has showed up right after I published a new post with the YT link.
Under the link above I’m also sharing some screenshots of my settings – please cross-check whether yours are the same or different.
It’s possible I missed some step here, in such case please let us know and we’ll continue investigating.
Best regards,
Pawel
Thx so much for your answer
I have checked it and i just saw thousands of warnings (more than 5.500) with the name of my custom fields, but i proved about 100 and none was broken.
So for any reason all custom fields (videos go to warning but does not check the broken
This is an example of broken link listed in warning but not in broken links https://youtu.be/Py9ELNORxnI
Screen Captures
View post on imgur.com
Thx for all
Hi @alesego
It seems the plugin is working as expected.
The Broken Link will use your server IP to make a request to the video, if we run a similar cURL request on our side:
:~$ curl -IL https://www.youtube.com/watch?v=Py9ELNORxnI
HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
X-Content-Type-Options: nosniff
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: Mon, 01 Jan 1990 00:00:00 GMT
Date: Thu, 25 Nov 2021 13:17:39 GMT
Content-Length: 378009
X-Frame-Options: SAMEORIGIN
The status is OK 200 because the URL is not broken but it does exist.
However, since you are using the API, when I tried to check the video it shows.
“video unavailable
This video features Disney content and has been blocked by that owner in your country based on copyright.”
Which would return a 403 status as the plugin is reporting as 403 is a Forbidden status https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
So it seems youtube is blocking your server IP location, are those your video?
Could you please try any random Youtube video to verify if it makes any difference?
Best Regards
Patrick Freitas
Hi @alesego,
Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to re-open the thread if you need further assistance.
Best Regards
Nithin