• Resolved Ahmed Elgameel

    (@elgameel)


    Hi everyone,
    I’ve 3 WordPress websites.
    After upgrading to WordPress 5.3.0, all embedded YouTube videos on all websites disappeared.
    In the editor, the YouTube block returns this error Sorry, this content could not be embedded.

    In WP editor, Chrome console shows this error when I click “Embed”:

    api-fetch.min.js?ver=3.6.4:1 GET https://website.com/wp-json/oembed/1.0/proxy?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DvtIIKU2e1rU&_locale=user 404
    N @ api-fetch.min.js?ver=3.6.4:1
    (anonymous) @ api-fetch.min.js?ver=3.6.4:1
    (anonymous) @ api-fetch.min.js?ver=3.6.4:1
    s @ api-fetch.min.js?ver=3.6.4:1
    (anonymous) @ api-fetch.min.js?ver=3.6.4:1
    forEach.t.<computed> @ api-fetch.min.js?ver=3.6.4:1
    n @ api-fetch.min.js?ver=3.6.4:1
    c @ api-fetch.min.js?ver=3.6.4:1
    (anonymous) @ api-fetch.min.js?ver=3.6.4:1
    (anonymous) @ api-fetch.min.js?ver=3.6.4:1
    (anonymous) @ api-fetch.min.js?ver=3.6.4:1
    (anonymous) @ api-fetch.min.js?ver=3.6.4:1
    w @ api-fetch.min.js?ver=3.6.4:1
    (anonymous) @ api-fetch.min.js?ver=3.6.4:1
    i @ api-fetch.min.js?ver=3.6.4:1
    (anonymous) @ api-fetch.min.js?ver=3.6.4:1
    O @ api-fetch.min.js?ver=3.6.4:1
    (anonymous) @ api-fetch.min.js?ver=3.6.4:1
    (anonymous) @ api-fetch.min.js?ver=3.6.4:1
    i @ api-fetch.min.js?ver=3.6.4:1
    (anonymous) @ api-fetch.min.js?ver=3.6.4:1
    (anonymous) @ api-fetch.min.js?ver=3.6.4:1
    e @ api-fetch.min.js?ver=3.6.4:1
    (anonymous) @ api-fetch.min.js?ver=3.6.4:1
    L @ api-fetch.min.js?ver=3.6.4:1
    (anonymous) @ api-fetch.min.js?ver=3.6.4:1
    (anonymous) @ api-fetch.min.js?ver=3.6.4:1
    (anonymous) @ api-fetch.min.js?ver=3.6.4:1
    (anonymous) @ api-fetch.min.js?ver=3.6.4:1
    M @ api-fetch.min.js?ver=3.6.4:1
    API_FETCH @ core-data.min.js?ver=2.7.4:1
    (anonymous) @ redux-routine.min.js?ver=3.6.2:1
    (anonymous) @ redux-routine.min.js?ver=3.6.2:1
    e @ redux-routine.min.js?ver=3.6.2:1
    (anonymous) @ redux-routine.min.js?ver=3.6.2:1
    c @ redux-routine.min.js?ver=3.6.2:1
    t @ redux-routine.min.js?ver=3.6.2:1
    (anonymous) @ redux-routine.min.js?ver=3.6.2:1
    (anonymous) @ redux-routine.min.js?ver=3.6.2:1
    (anonymous) @ redux-routine.min.js?ver=3.6.2:1
    (anonymous) @ data.min.js?ver=4.9.2:1
    (anonymous) @ data.min.js?ver=4.9.2:1
    (anonymous) @ data.min.js?ver=4.9.2:1
    s @ data.min.js?ver=4.9.2:1
    (anonymous) @ data.min.js?ver=4.9.2:1
    forEach.t.<computed> @ data.min.js?ver=4.9.2:1
    n @ data.min.js?ver=4.9.2:1
    c @ data.min.js?ver=4.9.2:1
    (anonymous) @ data.min.js?ver=4.9.2:1
    (anonymous) @ data.min.js?ver=4.9.2:1
    q @ data.min.js?ver=4.9.2:1
    (anonymous) @ data.min.js?ver=4.9.2:1
    s @ data.min.js?ver=4.9.2:1
    (anonymous) @ data.min.js?ver=4.9.2:1
    forEach.t.<computed> @ data.min.js?ver=4.9.2:1
    n @ data.min.js?ver=4.9.2:1
    c @ data.min.js?ver=4.9.2:1
    (anonymous) @ data.min.js?ver=4.9.2:1
    (anonymous) @ data.min.js?ver=4.9.2:1
    s @ data.min.js?ver=4.9.2:1
    a @ data.min.js?ver=4.9.2:1
    u @ data.min.js?ver=4.9.2:1
    (anonymous) @ block-library.min.js?ver=2.9.5:8
    (anonymous) @ data.min.js?ver=4.9.2:1
    t @ data.min.js?ver=4.9.2:1
    (anonymous) @ data.min.js?ver=4.9.2:1
    (anonymous) @ data.min.js?ver=4.9.2:1
    o @ data.min.js?ver=4.9.2:1
    (anonymous) @ data.min.js?ver=4.9.2:1
    p @ data.min.js?ver=4.9.2:1
    (anonymous) @ redux-routine.min.js?ver=3.6.2:1
    (anonymous) @ data.min.js?ver=4.9.2:1
    (anonymous) @ data.min.js?ver=4.9.2:1
    (anonymous) @ data.min.js?ver=4.9.2:1
    (anonymous) @ data.min.js?ver=4.9.2:1
    tryAgain @ block-library.min.js?ver=2.9.5:8
    (anonymous) @ data.min.js?ver=4.9.2:1
    Vh @ react-dom.min.js?ver=16.9.0:163
    Uh @ react-dom.min.js?ver=16.9.0:14
    Xh @ react-dom.min.js?ver=16.9.0:14
    af @ react-dom.min.js?ver=16.9.0:14
    Yh @ react-dom.min.js?ver=16.9.0:164
    nd @ react-dom.min.js?ver=16.9.0:15
    nc @ react-dom.min.js?ver=16.9.0:15
    Of @ react-dom.min.js?ver=16.9.0:38
    Ac @ react-dom.min.js?ver=16.9.0:39
    unstable_runWithPriority @ react.min.js?ver=16.9.0:26
    Ma @ react-dom.min.js?ver=16.9.0:52
    Be @ react-dom.min.js?ver=16.9.0:119
    xi @ react-dom.min.js?ver=16.9.0:39
    Show 60 more frames
    

    and this is the return
    {"code":"rest_forbidden","message":"\u0639\u0641\u0648\u064b\u0627 \u063a\u064a\u0631 \u0645\u0633\u0645\u0648\u062d \u0644\u0643 \u0628\u0639\u0645\u0644 \u0637\u0644\u0628\u0627\u062a \u0639\u0644\u0649 oEmbed.","data":{"status":401}}

    of this WP-JSON url:
    https://website.com/wp-json/oembed/1.0/proxy?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DvtIIKU2e1rU&_locale=user

    I’ve created a staging site, disabled all plugins, used Twenty Twenty theme and reinstalled WordPress. Yet, the problem still exists!

    WordPress version: 5.3.0
    Hosting provider: Cloudways
    Active plugins: 0
    Theme: Twenty Twenty (default theme)

    Any idea how to fix this issue?
    Thanks in advance.

Viewing 5 replies - 16 through 20 (of 20 total)
Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Embeds not working on all websites’ is closed to new replies.