Capítulo 226 de 988

Chapter 226: preloadAudio()

Core Idea

_This function is part of the @remotion/preload package.

Key Concepts

  • Usage
  • How it works
  • Handle redirects
  • See also

Code Examples

const unpreload = preloadAudio('https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3');

// If you want to un-preload the audio later
unpreload();
  • What it demonstrates: Usage pattern for preloadAudio() from the official docs.

Key Takeaways

  1. Understand usage when working with preloadAudio().
  2. Understand how it works when working with preloadAudio().
  3. Understand handle redirects when working with preloadAudio().
  4. Understand see also when working with preloadAudio().

Connects To

  • Animatedimage: related page in the Assets & Media section.
  • Delaying: related page in the Assets & Media section.
  • Exporting: related page in the Assets & Media section.