fix errors
Browse files
Remotion-app/src/HelloWorld/TextStream.jsx
CHANGED
@@ -43,6 +43,7 @@ const TextStream = React.memo(() => {
|
|
43 |
backgroundColor: 'transparent',
|
44 |
justifyContent: 'center',
|
45 |
alignItems: 'center',
|
|
|
46 |
}}
|
47 |
>
|
48 |
{memoizedTranscriptData.map((entry, index) => {
|
|
|
43 |
backgroundColor: 'transparent',
|
44 |
justifyContent: 'center',
|
45 |
alignItems: 'center',
|
46 |
+
zIndex: 2,
|
47 |
}}
|
48 |
>
|
49 |
{memoizedTranscriptData.map((entry, index) => {
|
Remotion-app/src/HelloWorld/VideoStream.jsx
CHANGED
@@ -37,6 +37,8 @@ const VideoX = React.memo(({entry}) => {
|
|
37 |
endAt={(fps * entry.props.endAt) / 30}
|
38 |
volume={(fps * entry.props.volume) / 30}
|
39 |
src={staticFile(entry.name)}
|
|
|
|
|
40 |
/>
|
41 |
);
|
42 |
});
|
|
|
37 |
endAt={(fps * entry.props.endAt) / 30}
|
38 |
volume={(fps * entry.props.volume) / 30}
|
39 |
src={staticFile(entry.name)}
|
40 |
+
loop={entry?.loop}
|
41 |
+
style={entry?.style}
|
42 |
/>
|
43 |
);
|
44 |
});
|