<Video> and <Audio> tags
<Video> and <Audio> from @remotion/media are the recommended tags for embedding video and audio in Remotion.
They are based on Mediabunny and WebCodecs and are designed for:
- frame-accurate video rendering
- fast media extraction
- minimal data fetching
Renamed tags from remotion
The tags that were previously called <Video> and <Audio> in the remotion package have been renamed:
<Video>fromremotion→<Html5Video><Audio>fromremotion→<Html5Audio>
This makes the HTML5-based tags explicit and leaves <Video> and <Audio> for the recommended @remotion/media tags.
Which tag am I using?
The HTML5-based tags are imported from the remotion package.
The recommended tags are imported from the @remotion/media package.
Why are we renaming the tags?
Users and AIs are intuitively going to reach for <Video> and <Audio> first because they are the easiest to find.
The best default should therefore be the one that is easiest to find.
Should I migrate to @remotion/media?
Use <Video> and <Audio> from @remotion/media for new code.
<OffthreadVideo>, <Html5Video>, and <Html5Audio> remain documented for direct use, migration, and fallback-specific behavior.