How to embed YouTube Shorts on your website
One Short in a vertical iframe. Or a feed of Shorts from a channel or keyword that updates itself.
A creator's short clip of your blender has more views than your product video. A shopper who saw it searches your site and finds a spec table. The Short that sold them is not there to finish the job.
To embed a YouTube Short, take its video ID from the Shorts link. Put it in YouTube's standard embed URL inside an iframe. Size the frame tall, 9:16, so the Short is not letterboxed. For a feed of Shorts that updates itself, use a widget. Both routes are below.
In this article
How to embed one YouTube Short
- 1Open the Short. The link looks like youtube.com/shorts/ followed by an ID.
- 2Copy the ID: the characters after /shorts/.
- 3Build the embed URL: https://www.youtube.com/embed/ plus that ID.
- 4Put it in an iframe 315 pixels wide and 560 tall, a 9:16 frame.
- 5Paste the iframe into an HTML block on your page. Publish and test it.
<iframe width="315" height="560"
src="https://www.youtube.com/embed/VIDEO_ID"
title="YouTube Short" frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>Some Shorts will not play off YouTube. The creator may have turned off "Allow embedding". Age-restricted videos send viewers to YouTube instead. Use privacy-enhanced mode by swapping youtube.com for youtube-nocookie.com in the URL.
Three ways to show Shorts
One iframe per Short
Paste an iframe with the video ID.
Wins at
- No account or key
- Works on any site that takes HTML
Struggles with
- One Short per snippet
- Nothing updates when you post
YouTube Data API
List a channel's uploads and draw them yourself.
Wins at
- Updates as you post
- 10,000 quota units a day by default
Struggles with
- A Google Cloud project and an API key
- You build the player and the layout
A Shorts widget (Idukki)
Add a channel or a keyword, pick a layout, paste one code.
Wins at
- Collects Shorts only
- Tag products on each Short
Struggles with
- A subscription past the free plan
YouTube facts from YouTube Help and the Data API docs. Idukki facts from our dashboard.
How to do it in Idukki: a feed of Shorts
A Shorts feed in five steps
- 01
New collection
In Collections, click New collection and pick Shorts as the source.
- 02
Channel or keyword
Search a channel by name, or type a keyword such as your brand.
- 03
Review
Hide any Short you do not want on your site.
- 04
Tag products
Tag the product in each Short so shoppers can buy it.
- 05
Publish
Pick a layout, copy the embed code and paste it into your page.
A keyword source finds Shorts that creators made about you. Your own channel gives you the Shorts you made. Mix both in one collection. Shorts play in YouTube's own player. The widget shows a thumbnail until the shopper taps play, unless you turn on autoplay. That keeps YouTube's player code off the page until it is needed.
A Short with the product beside it
In this Short
Bodycon Sunscreen SPF 50
$64.76
- 1
The Short
Collected from a channel or keyword. Plays in YouTube's player.
- 2
Product tag
Tagged once in the dashboard.
Which layout suits Shorts
Shorts are vertical, so pick a layout that keeps them tall. A carousel, a grid or Stories works. Tapping a Short opens it in a pop-up with its tagged products. Want a scrolling video row on a product page? Read how to embed shoppable video on Shopify.
Related guides
Where the code goes on your platform: Shopify, WordPress, Wix, Squarespace and Webflow.
Automate it: round up YouTube videos about your brand in a sheet.
On Shopify, read how to embed shoppable video on Shopify.
Questions people ask
Can you embed YouTube Shorts?
Yes. Use the Short's video ID in YouTube's standard embed URL, inside an iframe.
What size should a Shorts iframe be?
A 9:16 frame, such as 315 by 560 pixels. A 16:9 frame letterboxes the video.
Why will my Short not play on my site?
The creator turned off embedding, or the video is age-restricted.
Can I embed all Shorts from a channel?
Not with one iframe. A widget collects a channel's Shorts and updates the feed.
Can I show Shorts other people made about my brand?
Yes, with a keyword source. Ask the creator before a Short goes on a product page.
Sources
- 1YouTube Help: Embed videos and playlists · Embed steps, Allow embedding, age restriction, privacy-enhanced mode. It does not mention Shorts. Read 21 November 2026.
- 2YouTube Data API: getting started · Default quota of 10,000 units a day. Read 21 November 2026.
- 3Idukki pricing · Free plan up to 20,000 widget impressions a month.
Continue reading
3 pieces in this clusterThese long-form pieces on the Idukki blog link back to this article, go deeper on the cluster.
- Embedding
How to embed Facebook Reels on your website
Meta's video embed and what it says about Reels. Plus a feed of a page's Reels that updates itself.
- Embedding
How to embed a YouTube channel on your website
YouTube has no channel embed. Three ways to show your channel's videos on your own site, with steps.
- Embedding
How to Embed a YouTube Feed on Your Website (2026 Guide)
Three ways to embed a YouTube feed on any website: native iframes for single videos, the YouTube Data API for channel feeds, and a UGC platform for shoppable feeds.
More from Rohin Aggarwal
- Embedding
How to Embed a YouTube Feed on Your Website (2026 Guide)
Three ways to embed a YouTube feed on any website: native iframes for single videos, the YouTube Data API for channel feeds, and a UGC platform for shoppable feeds.
- Embedding
How to embed a YouTube channel on your website
YouTube has no channel embed. Three ways to show your channel's videos on your own site, with steps.
- Embedding
How to embed Facebook Reels on your website
Meta's video embed and what it says about Reels. Plus a feed of a page's Reels that updates itself.