ReqEmbed.Content (ReqEmbed v0.1.0)

View Source

Base oEmbed response parameters as defined in https://oembed.com/#section2.3.4

These are the common fields that all oEmbed response types may include:

  • type (required) - The resource type. Valid values are: photo, video, link, rich
  • version (required) - The oEmbed version number. Must be "1.0"
  • title (optional) - A text title describing the resource
  • author_name (optional) - The name of the author/owner of the resource
  • author_url (optional) - A URL for the author/owner of the resource
  • provider_name (optional) - The name of the resource provider
  • provider_url (optional) - The url of the resource provider
  • cache_age (optional) - The suggested cache lifetime for this resource, in seconds
  • thumbnail_url (optional) - A URL to a thumbnail image representing the resource
  • thumbnail_width (optional) - The width of the optional thumbnail
  • thumbnail_height (optional) - The height of the optional thumbnail

Note: If thumbnail_url is present, thumbnail_width and thumbnail_height must also be present.