Put in order · Vibe coding with Claude Code course · Module 10: TikTok clone
The recording cycle
Put the recording steps in VideoRecorder in order (from the first):
Items to put in order
- getUserMedia after a click on "Turn on camera"
- onstop: a Blob and the measured durationSec
- new MediaRecorder(stream, { mimeType })
- recorder.stop() after the limit or after a click
- recorder.start() and an interval watching the limit
You can check the correct answer by solving this task in the CodeWorlds game.