Update remotion/src/Composition.tsx
Browse files- remotion/src/Composition.tsx +0 -25
remotion/src/Composition.tsx
CHANGED
|
@@ -388,31 +388,6 @@ const StompScene: React.FC<{ scene: ScriptScene; index: number; durationInFrames
|
|
| 388 |
|
| 389 |
export const RemotionComposition: React.FC<{ script: VideoScript }> = ({ script }) => {
|
| 390 |
|
| 391 |
-
const script = {
|
| 392 |
-
title: "Sample Video",
|
| 393 |
-
targetAudience: "General",
|
| 394 |
-
summary: "Sample render",
|
| 395 |
-
config: {
|
| 396 |
-
primaryColor: "#FF0000",
|
| 397 |
-
musicTrack: "8BIT",
|
| 398 |
-
bgVolume: 0.5,
|
| 399 |
-
voiceVolume: 1.0,
|
| 400 |
-
},
|
| 401 |
-
scenes: [
|
| 402 |
-
{
|
| 403 |
-
title: "Hello World",
|
| 404 |
-
duration: 3, // in seconds
|
| 405 |
-
voiceover: "Welcome to Remotion!",
|
| 406 |
-
codeSnippet: "DemoComponent"
|
| 407 |
-
},
|
| 408 |
-
{
|
| 409 |
-
title: "Second Scene",
|
| 410 |
-
duration: 2,
|
| 411 |
-
voiceover: "This is scene two."
|
| 412 |
-
}
|
| 413 |
-
]
|
| 414 |
-
};
|
| 415 |
-
|
| 416 |
console.log("=== REMOTION COMPOSITION LOADED ===");
|
| 417 |
console.log("RECEIVED SCRIPT:", script);
|
| 418 |
console.log("SCENES:", script?.scenes);
|
|
|
|
| 388 |
|
| 389 |
export const RemotionComposition: React.FC<{ script: VideoScript }> = ({ script }) => {
|
| 390 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 391 |
console.log("=== REMOTION COMPOSITION LOADED ===");
|
| 392 |
console.log("RECEIVED SCRIPT:", script);
|
| 393 |
console.log("SCENES:", script?.scenes);
|