GiphyShortcode Class
Embeds a Giphy gif.
Namespace
Statiq.Web.Shortcodes
Interfaces
Base Types
graph BT Type-->Base0["EmbedShortcode"] click Base0 "/api/Statiq.Web.Shortcodes/EmbedShortcode" Base0-->Base1["Shortcode"] click Base1 "/api/Statiq.Common/Shortcode" Base1-->Base2["object"] Type-.->Interface0["IShortcode"] click Interface0 "/api/Statiq.Common/IShortcode" Type["GiphyShortcode"] class Type type-node

Syntax

public class GiphyShortcode : EmbedShortcode, IShortcode

Examples

<?# Giphy excited-birthday-yeah-yoJC2GnSClbPOkV0eA /?>

Remarks

You only need the ID of the gif which can be obtained from it's URL:
https://giphy.com/gifs/excited-birthday-yeah-yoJC2GnSClbPOkV0eA

Fields

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

Methods

Extension Methods