Capítulo 361 de 988

Chapter 361: play()

Core Idea

Starts playback in the Remotion Studio.

Key Concepts

  • Examples
  • See also

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

  1. Understand examples when working with play().
  2. 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.