Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The "capability URL" that is returned can be used to retrieve the oEmbed representation from the XperienCentral oEmbed API which is available at:

http://{domain}/{contextpath}/services/oembed?url=<url>

For example:

http://frontend1/web/services/oembed?url=http://frontend1/web/share/1b97ab2f52794e6acbb

The oEmbed service returns an oEmbed response according to the oEmbed specification. For complete information, see http://www.oembed.com/. The XC oEmbed server supports JSONP for cross domain requests by adding a callback or jsonpCallback (jquery/dojo standards) with the callback function name to the oEmbed request. For example:

http://frontend1/web/services/oembed?url=http://127.0.0.1/web/share/39952826dcfedba0b0bb&callback=mycallbackfunction

or

http://frontend1/web/services/oembed?url=http://127.0.0.1/web/share/39952826dcfedba0b0bb&jsonpCallback=mycallbackfunction

Presentations

The example presentation shows an example of how to render XperienCentral content for the oEmbed channel on the oEmbed "Display on" page that can be configured in XperienCentral (Configuration > Channel Configuration > Special Pages).

...