[wp-trac] [WordPress Trac] #32522: oEmbed WordPress Posts in WordPress Posts
WordPress Trac
noreply at wordpress.org
Sun May 31 18:13:08 UTC 2015
#32522: oEmbed WordPress Posts in WordPress Posts
-------------------------+------------------------------
Reporter: melchoyce | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version:
Severity: normal | Resolution:
Keywords: | Focuses: administration
-------------------------+------------------------------
Comment (by swissspidy):
I just updated the plugin I mentioned [https://github.com/swissspidy
/oEmbed-API on GitHub] to leverage the 2.x branch of the REST API. What it
currently does:
* Register your site as an oEmbed provider
* Add a new route with the `oembed/v1` namespace, e.g. `http://example.com
/wp-json/oembed/v1/oembed/`
* Add a oEmbed discovery in the `<head>` of single posts/pages
The output is very simple at the moment as it just returns the post
content and associated image data if available. The preview in the editor
already works: https://cloudup.com/cQL2DD87bPm
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32522#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list