ReqEmbed.Rich (ReqEmbed v0.1.0)

View Source

The rich type as defined in https://oembed.com/#section2.3.4.4

Used for rich HTML content that does not fall under other categories. Includes all base Content fields plus:

  • html (required) - The HTML required to display the resource. The HTML should have no padding or margins. The markup should be valid XHTML 1.0 Basic
  • width (required) - The width in pixels required to display the HTML
  • height (required) - The height in pixels required to display the HTML

Rich responses must obey the maxwidth and maxheight request parameters. Consumers may wish to load the HTML in an off-domain iframe to avoid XSS vulnerabilities.