{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "godam/video",
  "title": "Video",
  "category": "media",
  "description": "Embed a video from your media library or upload a new one.",
  "keywords": [
    "movie",
    "video",
    "player",
    "godam"
  ],
  "textdomain": "godam",
  "attributes": {
    "autoplay": {
      "type": "boolean",
      "attribute": "autoplay"
    },
    "controls": {
      "type": "boolean",
      "default": true
    },
    "id": {
      "type": "number",
      "role": "content"
    },
    "cmmId": {
      "type": "string",
      "default": ""
    },
    "loop": {
      "type": "boolean"
    },
    "muted": {
      "type": "boolean"
    },
    "hoverSelect": {
      "type": "string",
      "default": "none"
    },
    "poster": {
      "type": "string"
    },
    "preloadPoster": {
      "type": "boolean"
    },
    "preload": {
      "type": "string",
      "default": "none"
    },
    "performanceMode": {
      "type": "string",
      "default": "balanced"
    },
    "blob": {
      "type": "string",
      "role": "local"
    },
    "src": {
      "type": "string",
      "role": "content"
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "default": []
    },
    "tracks": {
      "role": "content",
      "type": "array",
      "items": {
        "type": "object"
      },
      "default": []
    },
    "preview": {
      "type": "boolean",
      "default": false
    },
    "aspectRatio": {
      "type": "string",
      "default": "responsive"
    },
    "videoHeight": {
      "type": "string"
    },
    "videoWidth": {
      "type": "string"
    },
    "caption": {
      "type": "string",
      "default": ""
    },
    "seo": {
      "type": "object",
      "default": {}
    },
    "seoOverride": {
      "type": "boolean",
      "default": false
    },
    "verticalAlignment": {
      "type": "string",
      "default": "center"
    },
    "overlayTimeRange": {
      "type": "number",
      "default": 0
    },
    "showOverlay": {
      "type": "boolean",
      "default": false
    },
    "showShareButton": {
      "type": "boolean",
      "default": false
    },
    "engagements": {
      "type": "boolean",
      "default": false
    },
    "playerHeight": {
      "type": "string",
      "default": ""
    },
    "showCaption": {
      "type": "boolean"
    },
    "showTranscription": {
      "type": "boolean",
      "default": false
    }
  },
  "supports": {
    "anchor": true,
    "align": true,
    "spacing": {
      "margin": true,
      "padding": true,
      "__experimentalDefaultControls": {
        "margin": false,
        "padding": false
      }
    },
    "__experimentalBorder": {
      "color": true,
      "radius": false,
      "style": true,
      "width": true,
      "__experimentalDefaultControls": {
        "color": true,
        "radius": false,
        "style": true,
        "width": true
      }
    },
    "shadow": true,
    "interactivity": {
      "clientNavigation": true
    },
    "innerBlocks": {
      "allowedBlocks": [
        "core/paragraph",
        "core/heading",
        "core/button",
        "core/image",
        "core/group",
        "core/columns",
        "core/column",
        "core/spacer",
        "core/html",
        "core/shortcode"
      ]
    }
  },
  "usesContext": [
    "queryId"
  ],
  "editorStyle": [
    "file:./index.css"
  ],
  "style": [
    "file:./style-index.css",
    "godam-player-style"
  ],
  "editorScript": [
    "file:./index.js"
  ],
  "viewScript": [
    "godam-player-frontend-script",
    "godam-player-analytics-script"
  ],
  "render": "file:./render.php"
}