Embedding YouTube video

Easily embed YouTube video on any page editable with the text editor in your control panel.

How To Embed A YouTube Video

Follow these steps to embed a Youtube video in your blog post:

  1. On Youtube, go to the video you want
  2. Within Share find the "Embed" option
  3. Copy the code in the field.
  4. Go to the control panel
  5. Open the product, blog, CMS page og category where you'd like to add the video
  6. In the text editor, select "Source".
  7. Paste the iframe code from Youtube directly in the source code
  8. When you are done, select "Save". Check in the online store that the video works.

Embedding YouTube Shorts

Even though YouTube Shorts doesn't have a dedicated embed code it is possible to embed them. Follow the steps below.

  1. Copy the code snippet below this list and paste it on the page there you'd like the Short to appear
  2. On YouTube copy the Shorts video ID
  3. Replace <Shorts_video_code> in the snippet below with the ID from step 2
  4. Adjust the iframe size if needed
  5. Save changes
<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>

Was this article helpful?