leewillis77 / wp-github-oembed

WordPress Github "oEmbed" plugin
GNU General Public License v2.0
69 stars 19 forks source link

Just says "Sorry, this content could not be embedded." #36

Closed digitalformula closed 2 years ago

digitalformula commented 2 years ago

As per title, just says "Sorry, this content could not be embedded" on Wordpress 6.0. I assume WP6 isn't supported and that's fine, but FYI. Unsure if this is an issue with the plugin or with WP6 actually but based on the plugin docs I should be able to just paste a repo URL into a post and have it pull info from GitHub. That doesn't happen.

leewillis77 commented 2 years ago

There's no reason it shouldn't work on WordPress 6.0 - I've just tested on a fresh install, and everything works as expected: https://capture.dropbox.com/CRMS16HZmKDUZaVt

It's likely something unique to your setup blocking the request (SSL problem / security plugin / maintenance mode plugin or similar).

digitalformula commented 2 years ago

There's no reason it shouldn't work on WordPress 6.0 - I've just tested on a fresh install, and everything works as expected: https://capture.dropbox.com/CRMS16HZmKDUZaVt

It's likely something unique to your setup blocking the request (SSL problem / security plugin / maintenance mode plugin or similar).

Interesting, I did the same and it doesn't work on a new install for me either. I'm using this repo as my test.

Results in WP admin:

image

Browser console:

image

Visiting the URL in the console returns this:

{"code":"rest_missing_callback_param","message":"Missing parameter(s): url","data":{"status":400,"params":["url"]}}

This site has GitHub Embed enabled and nothing else. WP6.0, TwentyTwentyTwo theme.

leewillis77 commented 2 years ago

As I said, we've confirmed that it works here on WordPress 6.0 and I've not seen any other reports of people having problems, so it must come down to something on your specific setup. If you've ruled out other plugins you might also want to look at network setup on the box, dns checks, firewall rules or similar, or your browser config (ad-blocking or similar addons maybe?).

Either way, there doesn't appear to be an issue with the extension itself.

digitalformula commented 2 years ago

As I said, we've confirmed that it works here on WordPress 6.0 and I've not seen any other reports of people having problems, so it must come down to something on your specific setup. If you've ruled out other plugins you might also want to look at network setup on the box, dns checks, firewall rules or similar, or your browser config (ad-blocking or similar addons maybe?).

Either way, there doesn't appear to be an issue with the extension itself.

Yes and as I said, I've tested it the same way and it doesn't work for me. Since we're talking details and supposed issues with my setup(s), here's what I've tested.

That's pretty thorough no matter how you look at it.

Either way, it's not a big issue as there are alternatives to this plugin. I simply thought the author might want to be aware. :man_shrugging:

sbaum2s commented 2 years ago

This plugin works with WP6 as can be seen on this page

https://laravel2020.com/2022/08/31/sourcecode-on-github-for-vue-3-integration-in-laravel-8/

I even temporarily included your above mentioned repo and that works too.

leewillis77 commented 2 years ago

Closing since this seems user-specific. If anyone manages can provide reliable steps to reproduce, feel free to re-open with details and we'll review.