{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "godam/gallery-v2",
  "title": "Video Gallery",
  "category": "media",
  "description": "Create a handpicked or query-based GoDAM video gallery.",
  "keywords": [
    "video",
    "gallery",
    "grid",
    "godam"
  ],
  "textdomain": "godam",
  "attributes": {
    "mode": {
      "type": "string",
      "default": "query"
    },
    "itemWidth": {
      "type": "string",
      "default": "S"
    },
    "count": {
      "type": "number",
      "default": 6
    },
    "orderby": {
      "type": "string",
      "default": "date"
    },
    "order": {
      "type": "string",
      "default": "desc"
    },
    "layout": {
      "type": "string",
      "default": "grid"
    },
    "viewRatio": {
      "type": "string",
      "default": "16:9"
    },
    "infiniteScroll": {
      "type": "boolean",
      "default": false
    },
    "enableMoreItems": {
      "type": "boolean",
      "default": false
    },
    "moreItemsBehavior": {
      "type": "string",
      "default": "button"
    },
    "mediaFolder": {
      "type": "string",
      "default": ""
    },
    "author": {
      "type": "string",
      "default": ""
    },
    "dateRange": {
      "type": "string",
      "default": ""
    },
    "customDateStart": {
      "type": "string",
      "default": ""
    },
    "customDateEnd": {
      "type": "string",
      "default": ""
    },
    "showTitle": {
      "type": "boolean",
      "default": true
    },
    "performanceMode": {
      "type": "string",
      "default": "balanced"
    },
    "engagements": {
      "type": "boolean",
      "default": true
    },
    "autoplay": {
      "type": "boolean",
      "default": false
    },
    "playOnHover": {
      "type": "boolean",
      "default": true
    },
    "showPlayButton": {
      "type": "boolean",
      "default": true
    }
  },
  "providesContext": {
    "godam/galleryV2/layout": "layout",
    "godam/galleryV2/showTitle": "showTitle",
    "godam/galleryV2/itemWidth": "itemWidth",
    "godam/galleryV2/viewRatio": "viewRatio"
  },
  "supports": {
    "anchor": true,
    "align": [
      "left",
      "center",
      "right",
      "wide",
      "full"
    ],
    "spacing": {
      "margin": true,
      "padding": true,
      "blockGap": true
    },
    "interactivity": {
      "clientNavigation": true
    }
  },
  "editorScript": [
    "file:./index.js"
  ],
  "editorStyle": [
    "file:./index.css"
  ],
  "style": [
    "file:./style-index.css"
  ],
  "viewScript": [
    "file:./view.js"
  ],
  "render": "file:./render.php"
}