...
- Annotate content with Open Graph or other meta tags
- Develop your own custom endpoint that returns JSON in the oEmbed format
- Develop your own custom endpoint that returns JSON in the Ephox Tiny Enhanced Media Embed format
...
As an alternative to including meta tags in your content, you can write a custom API that returns JSON in either the oEmbed or Ephox Tiny Enhanced Media Embed formats.
See the docs on configuring a custom endpoint for details on getting the Enhanced Media Embed server to utilise your custom API.
...
- No room in this spec for multiple embed representations of the same URL
- Must be a separate API rather than just metadata embedded in the content
- Error messages aren’t defined as part of the spec
...
Tiny Enhanced Media Embed endpoint
The other option for developing a custom API endpoint is to return JSON in the Ephox Tiny Enhanced Media Embed format.
...
- Must be a separate API rather than just metadata embedded in the content
- No support from existing plugins
- The Textbox.io editor does not fully take advantage of this format yet
Anchor | ||||
---|---|---|---|---|
|
...
Tiny Enhanced Media Embed format
HTTP response status codes
...
iframely
: From Iframelyopengraph
: Generated from Open Graph tags in a resourcetwitter
: Retrieved from a Twitter Cardoembed
: Retreived from an oEmbed APIsm4
fallback
: Ephox Tiny fallback embeds that look at SEO tags and Open Graph tags.script_censor
: The original embed (from Iframely or oEmbed) had a script in it and has been converted to a summary card.smartframe_censor
: The original embed had an Iframely smart frame and has been censored into a summary card to avoid a content dependency on Iframely.
...