`<Loop>` component #254
JonnyBurger posted onGitHub
A core component that will loop any of it's children indefinitely.
It should accept two props:
durationInFrames
: The duration of the content to be loopedtimes
: How many times to loop (optional, default Infinity)
It should only loop at most as many times to fill the whole composition length, but not any longer (can just call useVideoConfig()
inside the loop component to figure out the max number of loops).
Here is an example of how we loop at the moment: https://github.com/remotion-dev/remotion/discussions/615.
The component should throw descriptive errors on missing props or props with bad types, and documentation should be added to packages/docs
š This issue is eligible for Hacktoberfest! In addition to helping you get a contribution towards your Hacktoberfest reward, Remotion pays a $100 bounty for it!
Read: How to contribute to Remotion
- Let us know when you are interested in this issue, and we'll assign you!
- In order to prevent issues from getting stuck, try to progress the issue by opening a PR and adding commits. If your progress is stale for 7 days, another user can ask to take over the issue.
Approval criteria for this issue
- Implement the component as described above
- Keep the pipeline green
- Add documentation with a similar level of quality as the current docs
Fund this Issue
Rewarded pull request
Click to copy link
Recent activities