React SDK

EzoicVideo and EzoicVideoEmbed

Two separate video paths: Ezoic outstream/instream ad placeholders, and Open Video (open.video, Ezoic's video platform) inline content embeds.

What this demonstrates

<EzoicVideo divId="900001"> renders a publisher-chosen div and drives displayMoreVideo/destroyVideoPlaceholders — divId must be a numeric string; the underlying ad bundle silently drops non-numeric div ids. <EzoicVideoEmbed videoId="..."> pushes onto window.openVideoPlayers and injects https://open.video/video.js once, for inline content video unrelated to ad placeholders.

View source on GitHub →

SDK docs: README — Video

Component usage
import { EzoicVideo, EzoicVideoEmbed } from '@ezoic/react-sdk';

function ArticleVideo() {
  return (
    <>
      {/* Outstream/instream ad placeholder — divId must be numeric */}
      <EzoicVideo divId="900001" />

      {/* Open Video inline content embed */}
      <EzoicVideoEmbed videoId="abc123" />
    </>
  );
}

Live demo

The panel below embeds the SDK's own demo app (built from @ezoic/react-sdk v1.0.0) — look at its "Video" panel for both components. This article frame has no placeholders. The outstream unit runs in the iframe below and on the full demo page — scroll to Live demo or open it in a new tab. Video still only requests once page-level ads load. Open the full demo in a new tab →