durationInFrames={fps * (entry.end - entry.start)}
Browse files
Remotion-app/src/HelloWorld/VideoStream.jsx
CHANGED
|
@@ -42,7 +42,7 @@ const VideoX = React.memo(({entry}) => {
|
|
| 42 |
return (
|
| 43 |
<>
|
| 44 |
{entry?.loop ? (
|
| 45 |
-
<Loop>
|
| 46 |
<Video {...videoProps} />
|
| 47 |
</Loop>
|
| 48 |
) : (
|
|
|
|
| 42 |
return (
|
| 43 |
<>
|
| 44 |
{entry?.loop ? (
|
| 45 |
+
<Loop durationInFrames={fps * (entry.end - entry.start)}>
|
| 46 |
<Video {...videoProps} />
|
| 47 |
</Loop>
|
| 48 |
) : (
|