Add an Oembed API
Oembed is a specification for fetch the HTML code to embed an object in a third-party site. (http://oembed.com/). Many other large sites use it (YouTube, Vimeo, Twitter).
In practice it allows editors to paste the object URL onto one line in the CMS, and the for the CMS to go away and fetch the HTML to insert. The CMS caches the HTML and any other metadata returned (such as download URL).
The Oembed API call can also request customisations in the returned HTML response such as background color, height, and embed options such as what tabs show.
Having this feature would dramatically reduce friction for editors and missteps due to the cut and paste errors.
We’ve added oEmbed support and updated our WordPress plugin to use it! Read our announcement (https://blog.documentcloud.org/blog/2015/05/easier-publishing-with-wordpress-and-oembed/) or learn how to integrate with the service in our API docs (https://www.documentcloud.org/help/api#oembed). Thanks for your interest!