Wix offers two ways to add YouTube video: a dedicated Video widget for the simple case, and an HTML embed element when you need more control.
Method 1: the built-in Video element
In the Wix Editor, open the Add Elements panel, choose Video, and select “YouTube / Vimeo”. Paste your video’s normal watch URL when prompted; Wix converts it to a working embed automatically. This covers most everyday needs with no code involved.
Method 2: Embed HTML, for full control
If you need options the built-in widget does not offer, such as the privacy-enhanced domain, a specific start time or hidden controls, use Wix’s Embed a Widget / Custom Embed element instead:
- Add an “Embed a Widget” or “HTML iframe” element from the Embed Code section of the Add panel.
- Build your code with the embed code generator.
- Paste the code into the element’s HTML settings.
- Resize the element on the canvas, or rely on the responsive wrapper if you generated one.
A note on Wix’s own sizing
Wix elements often have their own fixed box on the canvas, which can interact with a responsive percentage-based wrapper in unexpected ways. If the video looks cropped or oddly sized, try using a fixed-size embed matching the element’s box dimensions instead, or adjust the element’s size settings so its aspect ratio matches 16:9 (or 9:16 for Shorts).
Mobile view
Remember to check Wix’s separate mobile editor view after adding an embed; Wix sites often use different element sizes for mobile, and an embed that looks right on desktop may need its own adjustment there.