• Resolved alesego

    (@alesego)


    Hi,

    There´s been a year or so the plugin does not work with YouTube videos. It works with other like vimeo. Both type (youtube and vimeo) are checked inside a custom field.

    Please help ^_^
    Best regards from spain

    • This topic was modified 2 years, 5 months ago by alesego.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    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

    Thread Starter alesego

    (@alesego)

    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`

    Plugin Support Pawel – WPMU DEV Support

    (@wpmudev-support9)

    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

    Thread Starter alesego

    (@alesego)

    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

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    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

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem YouTube links custom field’ is closed to new replies.