mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +00:00
Restores the 208 catalog items reverted after their previews 404'd in production, this time on the payload mechanism rather than the .html files that caused the outage. The generator no longer writes a preview document to docs/public. That writer, and the machinery under it, existed only to produce files the docs host discards, so it is gone rather than bypassed. Items now embed the composition itself via a payload, which is what the previous change already does for the items that were already in the catalog. The variables explorer is parked, not restored: it drove its preview through the same unpublished .html path, so it would have shown an empty frame. Items that declare variables get the live player plus the static variables table, and reconnecting the explorer to payloads is a follow-up.
193 lines
3.7 KiB
JSON
193 lines
3.7 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "lt-neon-border",
|
|
"type": "hyperframes:block",
|
|
"title": "Neon Border",
|
|
"description": "Two arcs of light travel the edge of a rounded panel and snap corner to corner, trailing a soft three-layer bloom. A lower third for a name and role.",
|
|
"stability": "experimental",
|
|
"dimensions": {
|
|
"width": 1920,
|
|
"height": 1080
|
|
},
|
|
"duration": 4.8,
|
|
"tags": ["lower-third", "glow", "loop", "video-primitive"],
|
|
"variables": [
|
|
{
|
|
"id": "name",
|
|
"type": "string",
|
|
"label": "Name",
|
|
"default": "Dr. Maya Chen"
|
|
},
|
|
{
|
|
"id": "role",
|
|
"type": "string",
|
|
"label": "Role",
|
|
"default": "Host · Neuroscientist"
|
|
},
|
|
{
|
|
"id": "accent",
|
|
"type": "color",
|
|
"label": "Accent",
|
|
"default": "#cc9149"
|
|
},
|
|
{
|
|
"id": "movement",
|
|
"type": "enum",
|
|
"label": "Movement",
|
|
"default": "step",
|
|
"options": [
|
|
{
|
|
"value": "step",
|
|
"label": "Step (snap at corners)"
|
|
},
|
|
{
|
|
"value": "glide",
|
|
"label": "Glide (smooth)"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "speed",
|
|
"type": "number",
|
|
"label": "Speed",
|
|
"default": 1.6,
|
|
"min": 0.2,
|
|
"max": 6,
|
|
"step": 0.1,
|
|
"unit": "corners/s"
|
|
},
|
|
{
|
|
"id": "cornerRadius",
|
|
"type": "number",
|
|
"label": "Corner radius",
|
|
"default": 26,
|
|
"min": 0,
|
|
"max": 90,
|
|
"step": 1,
|
|
"unit": "px"
|
|
},
|
|
{
|
|
"id": "thickness",
|
|
"type": "number",
|
|
"label": "Thickness",
|
|
"default": 5,
|
|
"min": 1,
|
|
"max": 16,
|
|
"step": 1,
|
|
"unit": "px"
|
|
},
|
|
{
|
|
"id": "arcLength",
|
|
"type": "number",
|
|
"label": "Arc length",
|
|
"default": 22,
|
|
"min": 5,
|
|
"max": 100,
|
|
"step": 1,
|
|
"unit": "%"
|
|
},
|
|
{
|
|
"id": "glow",
|
|
"type": "number",
|
|
"label": "Glow",
|
|
"default": 1,
|
|
"min": 0,
|
|
"max": 2,
|
|
"step": 0.05,
|
|
"unit": "x"
|
|
}
|
|
],
|
|
"files": [
|
|
{
|
|
"path": "lt-neon-border.html",
|
|
"type": "hyperframes:block"
|
|
}
|
|
],
|
|
"params": [
|
|
{
|
|
"id": "name",
|
|
"type": "string",
|
|
"label": "Name",
|
|
"default": "Dr. Maya Chen"
|
|
},
|
|
{
|
|
"id": "role",
|
|
"type": "string",
|
|
"label": "Role",
|
|
"default": "Host · Neuroscientist"
|
|
},
|
|
{
|
|
"id": "accent",
|
|
"type": "color",
|
|
"label": "Accent",
|
|
"default": "#cc9149"
|
|
},
|
|
{
|
|
"id": "movement",
|
|
"type": "enum",
|
|
"label": "Movement",
|
|
"default": "step",
|
|
"options": [
|
|
{
|
|
"value": "step",
|
|
"label": "Step (snap at corners)"
|
|
},
|
|
{
|
|
"value": "glide",
|
|
"label": "Glide (smooth)"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "speed",
|
|
"type": "number",
|
|
"label": "Speed",
|
|
"default": 1.6,
|
|
"min": 0.2,
|
|
"max": 6,
|
|
"step": 0.1,
|
|
"unit": "corners/s"
|
|
},
|
|
{
|
|
"id": "cornerRadius",
|
|
"type": "number",
|
|
"label": "Corner radius",
|
|
"default": 26,
|
|
"min": 0,
|
|
"max": 90,
|
|
"step": 1,
|
|
"unit": "px"
|
|
},
|
|
{
|
|
"id": "thickness",
|
|
"type": "number",
|
|
"label": "Thickness",
|
|
"default": 5,
|
|
"min": 1,
|
|
"max": 16,
|
|
"step": 1,
|
|
"unit": "px"
|
|
},
|
|
{
|
|
"id": "arcLength",
|
|
"type": "number",
|
|
"label": "Arc length",
|
|
"default": 22,
|
|
"min": 5,
|
|
"max": 100,
|
|
"step": 1,
|
|
"unit": "%"
|
|
},
|
|
{
|
|
"id": "glow",
|
|
"type": "number",
|
|
"label": "Glow",
|
|
"default": 1,
|
|
"min": 0,
|
|
"max": 2,
|
|
"step": 0.05,
|
|
"unit": "x"
|
|
}
|
|
]
|
|
}
|