packages/docs/docs/mediabunny/new-video.mdx
<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:
remotionThe tags that were previously called <Video> and <Audio> in the remotion package have been renamed:
<Video> from remotion → <Html5Video><Audio> from remotion → <Html5Audio>This makes the HTML5-based tags explicit and leaves <Video> and <Audio> for the recommended @remotion/media tags.
The HTML5-based tags are imported from the remotion package.
The recommended tags are imported from the @remotion/media package.
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.
@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.