Skip to content
NewProduct Q&A: shoppers ask on your product page and get your answers.See how it works
IdukkiIdukki
Embedding

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.

  1. 1Open the Short. The link looks like youtube.com/shorts/ followed by an ID.
  2. 2Copy the ID: the characters after /shorts/.
  3. 3Build the embed URL: https://www.youtube.com/embed/ plus that ID.
  4. 4Put it in an iframe 315 pixels wide and 560 tall, a 9:16 frame.
  5. 5Paste the iframe into an HTML block on your page. Publish and test it.
html
<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

CompareShorts on your site
1Free

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
2Developer time

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
3Ours

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

  1. 01

    New collection

    In Collections, click New collection and pick Shorts as the source.

  2. 02

    Channel or keyword

    Search a channel by name, or type a keyword such as your brand.

  3. 03

    Review

    Hide any Short you do not want on your site.

  4. 04

    Tag products

    Tag the product in each Short so shoppers can buy it.

  5. 05

    Publish

    Pick a layout, copy the embed code and paste it into your page.

Menu names as they appear in the Idukki dashboard.

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

Shop it

In this Short

Bodycon Sunscreen SPF 50

$64.76

Shop now
  1. 1

    The Short

    Collected from a channel or keyword. Plays in YouTube's player.

  2. 2

    Product tag

    Tagged once in the dashboard.

Illustration. The product card comes from your catalogue.

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.

Illustration of the Idukki widget builder.

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

  1. 1YouTube Help: Embed videos and playlists · Embed steps, Allow embedding, age restriction, privacy-enhanced mode. It does not mention Shorts. Read 21 November 2026.
  2. 2YouTube Data API: getting started · Default quota of 10,000 units a day. Read 21 November 2026.
  3. 3Idukki pricing · Free plan up to 20,000 widget impressions a month.
#youtube#youtube-shorts#embed#video-feed#shoppable-video

Continue reading

3 pieces in this cluster

These long-form pieces on the Idukki blog link back to this article, go deeper on the cluster.

More from Rohin Aggarwal