Youtube · Schema

VideoPlayer

Information used to play the video.

GoogleMediaSocialStreamingVideoVideos

Properties

Name Type Description
embedHtml string An iframe tag that embeds a player that will play the video.
embedHeight number The height of the embedded player returned in the player.embedHtml property.
embedWidth number The width of the embedded player returned in the player.embedHtml property.
View JSON Schema on GitHub

JSON Schema

youtube-videoplayer-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/VideoPlayer",
  "title": "VideoPlayer",
  "type": "object",
  "description": "Information used to play the video.",
  "properties": {
    "embedHtml": {
      "type": "string",
      "description": "An iframe tag that embeds a player that will play the video.",
      "example": "example_value"
    },
    "embedHeight": {
      "type": "number",
      "description": "The height of the embedded player returned in the player.embedHtml property.",
      "example": 42.5
    },
    "embedWidth": {
      "type": "number",
      "description": "The width of the embedded player returned in the player.embedHtml property.",
      "example": 42.5
    }
  }
}