feat(remotion): premium CharacterStory template (13 flexible scenes) + fix detail-page SSR
- CharacterStory: refined flat-illustration character (gradient-shaded sweater,
modern hair, calm minimal face), muted editorial palette (coral/teal/sand/navy),
abstract environment (soft depth blobs, ground "stage", sparse particles,
vignette + grain), scene-number kicker. Verified in 16:9/1:1/9:16 and all poses.
- seed: 13 editable scene cards (c1..c13, keys s{N}_title/s{N}_text) via new
MULTISCENE path; per-aspect previews; muted defaults.
- assets: 3 thumbnails + 4 preview MP4s vendored into public/template-media.
- fix: load BrandedVideoPlayer (plyr-react) client-only via next/dynamic
(ssr:false) — plyr touches `document` at import, which was 500-ing every
template detail page during SSR.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -25,6 +25,7 @@ import { Nowruz3D, nowruz3DSchema } from "./compositions/Nowruz3D";
|
||||
import { Birthday3D, birthday3DSchema } from "./compositions/Birthday3D";
|
||||
import { Promo3D, promo3DSchema } from "./compositions/Promo3D";
|
||||
import { AppShowcase3D, appShowcase3DSchema } from "./compositions/AppShowcase3D";
|
||||
import { CharacterStory, characterStorySchema, characterStoryDefaults } from "./compositions/CharacterStory";
|
||||
|
||||
export interface TemplateDef {
|
||||
/** Base id; the registered composition ids are `${id}-${aspect}`. */
|
||||
@@ -251,4 +252,13 @@ export const TEMPLATES: TemplateDef[] = [
|
||||
textColor: "#0f172a",
|
||||
},
|
||||
},
|
||||
{
|
||||
id: "CharacterStory",
|
||||
name: "داستان شخصیتی (۱۳ صحنه)",
|
||||
description: "قالب داستانگویی منعطف با شخصیت متحرک؛ تا ۱۳ صحنهٔ قابلویرایش (صحنههای خالی نمایش داده نمیشوند)",
|
||||
component: CharacterStory,
|
||||
schema: characterStorySchema,
|
||||
durationSec: 39,
|
||||
defaultProps: characterStoryDefaults,
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user