Skip to content

Commit 6f68afe

Browse files
committed
fix(docs): use live player previewSrc on animated map catalog pages
Regenerate map-* CatalogDetail MDX now that payloads exist so detail pages mount /public/catalog/blocks/map-*.json instead of 403 CDN mp4/png.
1 parent 8de36ec commit 6f68afe

24 files changed

Lines changed: 47 additions & 70 deletions

‎docs/catalog/blocks/map-arrow-fanout.mdx‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
88
import { InstallCommand } from "/snippets/install-command.jsx";
99

1010
<CatalogDetail
11+
previewSrc="/public/catalog/blocks/map-arrow-fanout.json"
1112
compositionId="map-arrow-fanout"
1213
compositionSrc="compositions/map-arrow-fanout.html"
1314
title="Map Arrow Fanout"
1415
description="Arrow swarm fan-out from an origin - abstract schematic advances. Inspired by classic newsreel animated-map tropes (Moving Image Archive Animated Maps collection - not affiliated; footage not included)."
15-
variables={[]}
16+
variables={[{"id":"title","type":"string","label":"Title","default":"Advance Fan-Out"},{"id":"subtitle","type":"string","label":"Subtitle","default":"Educational cartography · arrow swarm"},{"id":"accent","type":"color","label":"Accent","default":"#c45c26"}]}
1617
meta={{"duration":8,"width":1920,"height":1080,"category":"Blocks","badge":"Stable","codeLines":282}}
1718
attribution={{"author":"HeyGen","authorUrl":"https://hyperframes.heygen.com","path":"registry/blocks/map-arrow-fanout","tags":["map","geography","animation","arrows","fanout","swarm","newsreel","svg"]}}
18-
video="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/map-arrow-fanout.mp4"
19-
poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/map-arrow-fanout.png"
2019
hasCode
2120
rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/map-arrow-fanout/map-arrow-fanout.html"
2221
>

‎docs/catalog/blocks/map-border-chase.mdx‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
88
import { InstallCommand } from "/snippets/install-command.jsx";
99

1010
<CatalogDetail
11+
previewSrc="/public/catalog/blocks/map-border-chase.json"
1112
compositionId="map-border-chase"
1213
compositionSrc="compositions/map-border-chase.html"
1314
title="Map Border Chase"
1415
description="Border highlight chase that races along a coastline or frontier stroke. Inspired by classic newsreel animated-map tropes (Moving Image Archive Animated Maps collection - not affiliated; footage not included)."
15-
variables={[]}
16+
variables={[{"id":"title","type":"string","label":"Title","default":"Frontier Trace"},{"id":"subtitle","type":"string","label":"Subtitle","default":"Educational cartography · border chase"},{"id":"accent","type":"color","label":"Accent","default":"#c45c26"}]}
1617
meta={{"duration":8,"width":1920,"height":1080,"category":"Blocks","badge":"Stable","codeLines":177}}
1718
attribution={{"author":"HeyGen","authorUrl":"https://hyperframes.heygen.com","path":"registry/blocks/map-border-chase","tags":["map","geography","animation","border","chase","highlight","newsreel","svg"]}}
18-
video="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/map-border-chase.mp4"
19-
poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/map-border-chase.png"
2019
hasCode
2120
rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/map-border-chase/map-border-chase.html"
2221
>

‎docs/catalog/blocks/map-boundary-morph.mdx‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
88
import { InstallCommand } from "/snippets/install-command.jsx";
99

1010
<CatalogDetail
11+
previewSrc="/public/catalog/blocks/map-boundary-morph.json"
1112
compositionId="map-boundary-morph"
1213
compositionSrc="compositions/map-boundary-morph.html"
1314
title="Map Boundary Morph"
1415
description="Crossfade morph between two simplified historical boundary silhouettes. Inspired by classic newsreel animated-map tropes (Moving Image Archive Animated Maps collection - not affiliated; footage not included)."
15-
variables={[]}
16+
variables={[{"id":"title","type":"string","label":"Title","default":"Shifting Borders"},{"id":"subtitle","type":"string","label":"Subtitle","default":"Educational cartography · boundary morph"},{"id":"accent","type":"color","label":"Accent","default":"#c45c26"}]}
1617
meta={{"duration":8,"width":1920,"height":1080,"category":"Blocks","badge":"Stable","codeLines":203}}
1718
attribution={{"author":"HeyGen","authorUrl":"https://hyperframes.heygen.com","path":"registry/blocks/map-boundary-morph","tags":["map","geography","animation","boundary","morph","historical","newsreel","svg"]}}
18-
video="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/map-boundary-morph.mp4"
19-
poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/map-boundary-morph.png"
2019
hasCode
2120
rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/map-boundary-morph/map-boundary-morph.html"
2221
>

‎docs/catalog/blocks/map-campaign-arrows.mdx‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
88
import { InstallCommand } from "/snippets/install-command.jsx";
99

1010
<CatalogDetail
11+
previewSrc="/public/catalog/blocks/map-campaign-arrows.json"
1112
compositionId="map-campaign-arrows"
1213
compositionSrc="compositions/map-campaign-arrows.html"
1314
title="Map Campaign Arrows"
1415
description="Newsreel wartime aesthetic with sequential schematic campaign arrows along a path - abstract educational cartography, not glorifying. Inspired by classic newsreel animated-map tropes (Moving Image Archive Animated Maps collection - not affiliated; footage not included)."
15-
variables={[]}
16+
variables={[{"id":"title","type":"string","label":"Title","default":"Schematic Advances"},{"id":"subtitle","type":"string","label":"Subtitle","default":"Sequential path arrows · abstract cartography"},{"id":"accent","type":"color","label":"Accent","default":"#c45c26"}]}
1617
meta={{"duration":9,"width":1920,"height":1080,"category":"Blocks","badge":"Stable","codeLines":283}}
1718
attribution={{"author":"HeyGen","authorUrl":"https://hyperframes.heygen.com","path":"registry/blocks/map-campaign-arrows","tags":["map","geography","animation","arrows","campaign","newsreel","schematic","svg"]}}
18-
video="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/map-campaign-arrows.mp4"
19-
poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/map-campaign-arrows.png"
2019
hasCode
2120
rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/map-campaign-arrows/map-campaign-arrows.html"
2221
>

‎docs/catalog/blocks/map-city-pins.mdx‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
88
import { InstallCommand } from "/snippets/install-command.jsx";
99

1010
<CatalogDetail
11+
previewSrc="/public/catalog/blocks/map-city-pins.json"
1112
compositionId="map-city-pins"
1213
compositionSrc="compositions/map-city-pins.html"
1314
title="Map City Pins"
1415
description="Newsreel-style labeled city pins that pop and stagger onto a stylized landmass. Inspired by classic newsreel animated-map tropes (Moving Image Archive Animated Maps collection - not affiliated; footage not included)."
15-
variables={[]}
16+
variables={[{"id":"title","type":"string","label":"Title","default":"Cities of Note"},{"id":"subtitle","type":"string","label":"Subtitle","default":"Staggered pin drops · educational map"},{"id":"city1","type":"string","label":"City 1","default":"NORTH"},{"id":"city2","type":"string","label":"City 2","default":"CENTRAL"},{"id":"city3","type":"string","label":"City 3","default":"EAST"},{"id":"city4","type":"string","label":"City 4","default":"SOUTH"},{"id":"city5","type":"string","label":"City 5","default":"ISLE"},{"id":"accent","type":"color","label":"Accent","default":"#c45c26"}]}
1617
meta={{"duration":8,"width":1920,"height":1080,"category":"Blocks","badge":"Stable","codeLines":260}}
1718
attribution={{"author":"HeyGen","authorUrl":"https://hyperframes.heygen.com","path":"registry/blocks/map-city-pins","tags":["map","geography","animation","pins","cities","newsreel","labels","svg"]}}
18-
video="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/map-city-pins.mp4"
19-
poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/map-city-pins.png"
2019
hasCode
2120
rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/map-city-pins/map-city-pins.html"
2221
>

‎docs/catalog/blocks/map-compass-scale.mdx‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
88
import { InstallCommand } from "/snippets/install-command.jsx";
99

1010
<CatalogDetail
11+
previewSrc="/public/catalog/blocks/map-compass-scale.json"
1112
compositionId="map-compass-scale"
1213
compositionSrc="compositions/map-compass-scale.html"
1314
title="Map Compass Scale"
1415
description="Compass rose and scale bar reveal over a stylized newsreel landmass. Inspired by classic newsreel animated-map tropes (Moving Image Archive Animated Maps collection - not affiliated; footage not included)."
15-
variables={[]}
16+
variables={[{"id":"title","type":"string","label":"Title","default":"Compass & Scale"},{"id":"subtitle","type":"string","label":"Subtitle","default":"Educational cartography · compass rose"},{"id":"scaleLabel","type":"string","label":"Scale label","default":"100 mi"},{"id":"accent","type":"color","label":"Accent","default":"#c45c26"}]}
1617
meta={{"duration":7,"width":1920,"height":1080,"category":"Blocks","badge":"Stable","codeLines":212}}
1718
attribution={{"author":"HeyGen","authorUrl":"https://hyperframes.heygen.com","path":"registry/blocks/map-compass-scale","tags":["map","geography","animation","compass","scale","newsreel","svg"]}}
18-
video="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/map-compass-scale.mp4"
19-
poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/map-compass-scale.png"
2019
hasCode
2120
rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/map-compass-scale/map-compass-scale.html"
2221
>

‎docs/catalog/blocks/map-conquest-fill-sequence.mdx‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
88
import { InstallCommand } from "/snippets/install-command.jsx";
99

1010
<CatalogDetail
11+
previewSrc="/public/catalog/blocks/map-conquest-fill-sequence.json"
1112
compositionId="map-conquest-fill-sequence"
1213
compositionSrc="compositions/map-conquest-fill-sequence.html"
1314
title="Map Conquest Fill Sequence"
1415
description="Sequential region fill sequence - abstract educational conquest cartography, not glorifying. Inspired by classic newsreel animated-map tropes (Moving Image Archive Animated Maps collection - not affiliated; footage not included)."
15-
variables={[]}
16+
variables={[{"id":"title","type":"string","label":"Title","default":"Sequential Fill"},{"id":"subtitle","type":"string","label":"Subtitle","default":"Educational cartography · conquest fill"},{"id":"accent","type":"color","label":"Accent","default":"#c45c26"}]}
1617
meta={{"duration":8,"width":1920,"height":1080,"category":"Blocks","badge":"Stable","codeLines":197}}
1718
attribution={{"author":"HeyGen","authorUrl":"https://hyperframes.heygen.com","path":"registry/blocks/map-conquest-fill-sequence","tags":["map","geography","animation","conquest","fill","sequence","newsreel","svg"]}}
18-
video="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/map-conquest-fill-sequence.mp4"
19-
poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/map-conquest-fill-sequence.png"
2019
hasCode
2120
rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/map-conquest-fill-sequence/map-conquest-fill-sequence.html"
2221
>

‎docs/catalog/blocks/map-front-line-crawl.mdx‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
88
import { InstallCommand } from "/snippets/install-command.jsx";
99

1010
<CatalogDetail
11+
previewSrc="/public/catalog/blocks/map-front-line-crawl.json"
1112
compositionId="map-front-line-crawl"
1213
compositionSrc="compositions/map-front-line-crawl.html"
1314
title="Map Front Line Crawl"
1415
description="Dashed front-line crawl across a stylized landmass - abstract educational cartography. Inspired by classic newsreel animated-map tropes (Moving Image Archive Animated Maps collection - not affiliated; footage not included)."
15-
variables={[]}
16+
variables={[{"id":"title","type":"string","label":"Title","default":"The Shifting Front"},{"id":"subtitle","type":"string","label":"Subtitle","default":"Educational cartography · front-line crawl"},{"id":"accent","type":"color","label":"Accent","default":"#c45c26"}]}
1617
meta={{"duration":8,"width":1920,"height":1080,"category":"Blocks","badge":"Stable","codeLines":174}}
1718
attribution={{"author":"HeyGen","authorUrl":"https://hyperframes.heygen.com","path":"registry/blocks/map-front-line-crawl","tags":["map","geography","animation","front-line","dashed","newsreel","battle-line","svg"]}}
18-
video="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/map-front-line-crawl.mp4"
19-
poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/map-front-line-crawl.png"
2019
hasCode
2120
rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/map-front-line-crawl/map-front-line-crawl.html"
2221
>

‎docs/catalog/blocks/map-globe-inset.mdx‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
88
import { InstallCommand } from "/snippets/install-command.jsx";
99

1010
<CatalogDetail
11+
previewSrc="/public/catalog/blocks/map-globe-inset.json"
1112
compositionId="map-globe-inset"
1213
compositionSrc="compositions/map-globe-inset.html"
1314
title="Map Globe Inset"
1415
description="Inset globe that rotates via seek-safe GSAP transform beside a main stylized map. Inspired by classic newsreel animated-map tropes (Moving Image Archive Animated Maps collection - not affiliated; footage not included)."
15-
variables={[]}
16+
variables={[{"id":"title","type":"string","label":"Title","default":"World Inset"},{"id":"subtitle","type":"string","label":"Subtitle","default":"Educational cartography · globe inset"},{"id":"accent","type":"color","label":"Accent","default":"#c45c26"}]}
1617
meta={{"duration":9,"width":1920,"height":1080,"category":"Blocks","badge":"Stable","codeLines":230}}
1718
attribution={{"author":"HeyGen","authorUrl":"https://hyperframes.heygen.com","path":"registry/blocks/map-globe-inset","tags":["map","geography","animation","globe","inset","newsreel","svg"]}}
18-
video="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/map-globe-inset.mp4"
19-
poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/map-globe-inset.png"
2019
hasCode
2120
rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/map-globe-inset/map-globe-inset.html"
2221
>

‎docs/catalog/blocks/map-grid-crosshair.mdx‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
88
import { InstallCommand } from "/snippets/install-command.jsx";
99

1010
<CatalogDetail
11+
previewSrc="/public/catalog/blocks/map-grid-crosshair.json"
1112
compositionId="map-grid-crosshair"
1213
compositionSrc="compositions/map-grid-crosshair.html"
1314
title="Map Grid Crosshair"
1415
description="Lat-long grid draw-on with a crosshair lock on a target point. Inspired by classic newsreel animated-map tropes (Moving Image Archive Animated Maps collection - not affiliated; footage not included)."
15-
variables={[]}
16+
variables={[{"id":"title","type":"string","label":"Title","default":"Grid Lock"},{"id":"subtitle","type":"string","label":"Subtitle","default":"Educational cartography · lat-long lock"},{"id":"accent","type":"color","label":"Accent","default":"#c45c26"}]}
1617
meta={{"duration":7,"width":1920,"height":1080,"category":"Blocks","badge":"Stable","codeLines":383}}
1718
attribution={{"author":"HeyGen","authorUrl":"https://hyperframes.heygen.com","path":"registry/blocks/map-grid-crosshair","tags":["map","geography","animation","grid","crosshair","latlong","newsreel","svg"]}}
18-
video="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/map-grid-crosshair.mp4"
19-
poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/map-grid-crosshair.png"
2019
hasCode
2120
rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/map-grid-crosshair/map-grid-crosshair.html"
2221
>

0 commit comments

Comments
 (0)