EmbedShortcode Class
Calls an oEmbed endpoint and renders the embedded content.
EmbedShortcode
Shortcode
object
IShortcode
YouTubeShortcode
GiphyShortcode
CodePenShortcode
TwitterShortcode

Syntax

public class EmbedShortcode : Shortcode, IShortcode

Examples

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

Remarks

See https://oembed.com/ for details on the oEmbed standard and available endpoints.

Fields

Name Field Type Constant Value Summary
Endpoint string Endpoint
static
Format string Format
static
MaxHeight string MaxHeight
static
MaxWidth string MaxWidth
static
Url string Url
static

Methods

Extension Methods