{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "pistonui/video-hero",
	"version": "1.0.0",
	"title": "Video Hero",
	"category": "pistonui",
	"icon": "video-alt3",
	"description": "Full-screen hero section with background video (self-hosted, YouTube) or image with customizable content overlay",
	"keywords": ["video", "hero", "background", "youtube", "banner", "pistonui"],
	"textdomain": "pistonui",
	"supports": {
		"html": false,
		"align": ["wide", "full"]
	},
	"attributes": {
		"videoSource": {
			"type": "string",
			"default": "self",
			"enum": ["self", "youtube", "image"]
		},
		"bgImage": {
			"type": "object",
			"default": {
				"url": "",
				"id": 0,
				"alt": ""
			}
		},
		"videoFile": {
			"type": "object",
			"default": {
				"url": "",
				"id": 0
			}
		},
		"youtubeUrl": {
			"type": "string",
			"default": ""
		},
		"youtubeScale": {
			"type": "number",
			"default": 1
		},
		"loop": {
			"type": "boolean",
			"default": true
		},
		"autoplay": {
			"type": "boolean",
			"default": true
		},
		"showControls": {
			"type": "boolean",
			"default": true
		},
		"hideYoutubeUi": {
			"type": "boolean",
			"default": true
		},
		"subtitle": {
			"type": "string",
			"default": "Lightning-Fast Performance"
		},
		"title": {
			"type": "string",
			"default": "PistonUI Widgets"
		},
		"description": {
			"type": "string",
			"default": "Create stunning websites with speed-optimized widgets. Beautiful designs, extensive color controls, and smooth animations that perform flawlessly on all devices."
		},
		"ctaText": {
			"type": "string",
			"default": ""
		},
		"ctaUrl": {
			"type": "string",
			"default": ""
		},
		"ctaTarget": {
			"type": "boolean",
			"default": false
		},
		"ctaNofollow": {
			"type": "boolean",
			"default": false
		},
		"ctaCustomClass": {
			"type": "string",
			"default": ""
		},
		"playIcon": {
			"type": "string",
			"default": "fas fa-play"
		},
		"pauseIcon": {
			"type": "string",
			"default": "fas fa-pause"
		},
		"soundOnIcon": {
			"type": "string",
			"default": "fas fa-volume-up"
		},
		"soundOffIcon": {
			"type": "string",
			"default": "fas fa-volume-mute"
		},
		"heroHeight": {
			"type": "number",
			"default": 600
		},
		"heroHeightUnit": {
			"type": "string",
			"default": "px"
		},
		"playBgColor": {
			"type": "string",
			"default": "rgba(255, 255, 255, 0.2)"
		},
		"playBgHover": {
			"type": "string",
			"default": "rgba(255, 255, 255, 0.3)"
		},
		"playIconColor": {
			"type": "string",
			"default": "#ffffff"
		},
		"playIconHover": {
			"type": "string",
			"default": "#ffffff"
		},
		"soundBgColor": {
			"type": "string",
			"default": "rgba(255, 255, 255, 0.2)"
		},
		"soundBgHover": {
			"type": "string",
			"default": "rgba(255, 255, 255, 0.3)"
		},
		"soundIconColor": {
			"type": "string",
			"default": "#ffffff"
		},
		"soundIconHover": {
			"type": "string",
			"default": "#ffffff"
		},
		"ctaColor": {
			"type": "string",
			"default": "#ffffff"
		},
		"ctaBg": {
			"type": "string",
			"default": "rgba(0, 0, 0, 0.35)"
		},
		"ctaBorderColor": {
			"type": "string",
			"default": "#ffffff"
		},
		"subtitleColor": {
			"type": "string",
			"default": "#ffffff"
		},
		"titleColor": {
			"type": "string",
			"default": "#ffffff"
		},
		"descColor": {
			"type": "string",
			"default": "#d9d9d9"
		},
		"overlayColor": {
			"type": "string",
			"default": "rgba(0, 0, 0, 0.45)"
		}
	},
	"editorScript": "file:../../build/video-hero/index.js",
	"viewScript": "pistonui-gutenberg-video-hero"
}
