ReqEmbed.Video (ReqEmbed v0.1.1)

View Source

The video type as defined in https://oembed.com/#section2.3.4.2

Represents a playable video. Includes all base Content fields plus:

  • html (required) - The HTML required to embed a video player. The HTML should have no padding or margins
  • width (required) - The width in pixels required to display the HTML
  • height (required) - The height in pixels required to display the HTML

Video responses must obey the maxwidth and maxheight request parameters. If a provider wishes the consumer to just provide a thumbnail rather than an embeddable player, they should instead return a photo response type.