#58369 closed defect (bug) (invalid)
GitHub gist embeds not working
Reported by: | jikamens | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 6.2.2 |
Component: | Embeds | Keywords: | |
Focuses: | Cc: |
Description
I can no longer embed public GitHub gists in my blog postings. When I paste a public Gist URL into a post I am composing, it says, "Sorry, this content could not be embedded." When I go back and look at my old blog postings that had Gists embedded in them, they are no longer showing up as embeds; the Gist URL just appears in the posting as plaintext.
Change History (6)
#2
in reply to:
↑ 1
@
17 months ago
Replying to afragen:
Try using this plugin, https://wordpress.org/plugins/oembed-gist-files/
I don't want to use a plugin, I want to use the functionality that's built into WordPress that is supposed to work, which is why I filed a bug report about it not working. I am aware that there are plugins for embedding Gists. That is not the point of this ticket.
#3
@
17 months ago
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
The oEmbed functionality is built into WordPress, but it is not built into Gist. WordPress can only embed things that support embedding. Gist does not.
#4
@
17 months ago
I don't understand. I've used Gist embeds on my WordPress blog for YEARS. Clearly Gist supported embedding for all that time. Has something changed in Gist to make it no longer support embedding?
If so, could that maybe be documented in the release notes for WordPress or something? I searched high and low and could find no documentation whatsoever about this change.
#5
follow-up:
↓ 6
@
17 months ago
WordPress's documentation literally says that Gist embed is supported:
#6
in reply to:
↑ 5
@
17 months ago
Replying to jikamens:
I don't understand. I've used Gist embeds on my WordPress blog for YEARS. Clearly Gist supported embedding for all that time. Has something changed in Gist to make it no longer support embedding?
Possibly, but you would need to ask github. Looking at the code on a Gist page, it does not currently appear to have oEmbed support.
If so, could that maybe be documented in the release notes for WordPress or something? I searched high and low and could find no documentation whatsoever about this change.
WordPress did not change anything. The oEmbed standard relies on the site being embedded to support being embedded. If gist just removed oEmbed support, then it would simply stop working. And there's nothing that would change about WordPress to do that.
Embedding requires the site being embedded to actively allow/support it. Or you need a special plugin to enable it for a site which does not support it in a standard way.
Replying to jikamens:
WordPress's documentation literally says that Gist embed is supported:
Wordpress.com and wordpress.org are two different things.
Try using this plugin, https://wordpress.org/plugins/oembed-gist-files/