Video2
✓ Published0🌍 Public
A video plays inside a circular mask on a yellow canvas, while the entire composition spins and translates via D3's `d3.timer` and `attr` transforms. The example embeds an HTML5 `<video>` element within an SVG `foreignObject`, clipped by CSS `border-radius` and `-webkit-mask-image`. A second separate video control also appears. The code uses D3 v5 to manipulate SVG groups (`g`), circles, and transitions, demonstrating video integration with animated SVG graphics.
AI-generated descriptionMIT Licensed