Chapter 361: play()
Core Idea
Starts playback in the Remotion Studio.
Key Concepts
Code Examples
const PlayButton = () => {
// Call with the event parameter for better browser audio autoplay
return <button onClick={(e) => play(e)}>Play</button>;
};
- What it demonstrates: Usage pattern for play() from the official docs.
Key Takeaways
- Understand examples when working with play().
- Understand see also when working with play().
Connects To
- Clipper: related page in the Studio, Player & Editing section.
- Design Systems: related page in the Studio, Player & Editing section.
- Editor Starter: related page in the Studio, Player & Editing section.