Using the quick workaround using the iframe (Inline frame) HTML tag, you can embed any YouTube Shorts in your page or article.

Note

Paste the following code in your editor and replace the field mentioned below.

  • Video URL
  • Optimal size for a Shorts video is 315px x 560px, but you can change the frame size based on your need. Ensure the aspect ratio is maintained.
  • Frame border in pixels (px)

iFrame code

<iframe width="315" height="560"
src="https://www.youtube.com/embed/<Shorts_video_code>"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen></iframe>

Steps to follow

  1. Go to YouTube and click on the desired Shorts video.

  2. Copy the video link found in the address bar of your web browser.
    (or)
    Click Share > Copy.

  3. Paste the copied video link in the iFrame code mentioned above.

  4. Replace the /shorts/ with /embed/ in the video URL.

Note

At present, YouTube doesn't offer a direct embedding option for Shorts. To embed a Short, simply replace "shorts" with "embed" in the video URL after pasting it.
ScreenGIF-Replacing_shorts_with_embed

  1. The Shorts video is now embedded in your page or article.

Code view

<iframe width="315" height="560" 
src="https://www.youtube.com/embed/QPOLrbKI5oQ" 
title="YouTube video player" frameborder="0" 
allow="accelerometer; autoplay; clipboard-write; encrypted-media;
gyroscope; picture-in-picture;
web-share"
allowfullscreen></iframe>

Output