• I have been using the Strava embed code daily to log my fitness activities.
    This morning when I tried to load yesterdays ride I get the message
    “Sorry, this content could not be embedded.”

    Has their been a change in how WP deals with Embeds in the latest version and if so how do I get around this?

    • This topic was modified 4 years, 6 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @johnsavidi

    On which post you are facing the issue?

    I have visited some posts, like this: https://johnnykiev.com/fitness/2020/08/09/shake-rattle-and-roll/ and the embed is working perfectly there. ??

    Thread Starter johnsavidi

    (@johnsavidi)

    Thanks Animesh
    On all those posts it worked fine, it just stopped working completely from Yesterday and no longer allows the embeds.
    WP auto updated to the latest version so I’m wondering if this has broken the function, I did manage embeds from another site for my last couple of posts so am confused why Strava is blocked.

    Hi @johnsavidi

    I have tested it on the latest version of WordPress. It is working perfectly on my side. Please see here: https://prnt.sc/u0wltg

    Sorry, this content could not be embedded.

    In most cases, this error message shows if there is a mistake in the URL, the code or if the element that you want to embed is in private mode and not in public mode.

    Also please make sure in Custom HTML Block your code is appearing something like this:

    <iframe height="405" width="590" src="https://www.strava.com/activities/3887608228/embed/941d5319353ba7f299ff218e6e2d54304ac7ce52"></iframe>

    One more thing you can do is, you can activate the WordPress default theme (Twenty Twenty) and check if embed is working or not.

    You can also do the same process with plugins. You can deactivate (don’t delete theme) all plugins and activate them one by one to check if there any plugin is causing the problem. ??

    Thread Starter johnsavidi

    (@johnsavidi)

    Thanks for that, I have tried all your suggestions and nothing made a difference.

    The code I tried is

    <iframe height='405' width='590' frameborder='0' allowtransparency='true' scrolling='no' src='https://www.strava.com/activities/3921920742/embed/8521b96836117265408a28ba9b6ba614f08a8a23'></iframe>

    You can see a screen grab of the error here

    I have tried posting the code as both as a paragraph, the way that has been working since day one and as an embed, both throw up the same error.

    I have deactivated the plugins one by one to see if one of those was the cause but it has made no difference, plus none of the plugins was new or has updated recently.
    The eror started occuring when the site automatically upgraded to WP version 5.5–en_GB

    Hi @johnsavidi

    Are you using Custom HTML block for <iframe height="405" width="590" src="https://www.strava.com/activities/3887608228/embed/941d5319353ba7f299ff218e6e2d54304ac7ce52"></iframe> ?

    Did you try after activating activate the WordPress default theme (Twenty Twenty)?

    Could you also please try to use embed on completely new post/page rather than on a page/post which is in the draft or already published?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Strava Embeds Broken?’ is closed to new replies.