Embed

Calls an oEmbed endpoint and renders the embedded content.
See https://oembed.com/ for details on the oEmbed standard and available endpoints.

Examples

<?# Embed https://codepen.io/api/oembed https://codepen.io/gingerdude/pen/JXwgdK /?>

Parameters

The following parameters can be used without names in the order below or with names (provided they are named) in any order. When using named parameters, the syntax should be `Name=Value` or `Name="Value"`.

  • Endpoint

    The oEmbed endpoint.

  • Url

    The embeded URL to fetch an embed for.

  • Format

    An optional format to use ("xml" or "json").

GitHub