Skip to main content

How to embed a video

How to embed a YouTube, Vimeo, or other video within a Promolayer display, including recommended customization options.

You can upload MP4 files up to 2MB.

These files can be used for single-image type images, image content, and sticker content.

They cannot be used as a background image for anything other than the single-image type.

Using external content

From "Add content", select "HTML", then paste the code you get from YouTube or a similar service, or insert a <video> tag.

Note: content can't be added to a single-image type display, so this option isn't available there.

YouTube

Getting the embed code

Click "Share", then "Embed" to get the code.

Customizing the YouTube player

The code you get will look like this (the video ID — 799i7Mx4sBU in this example — will be different for your video, so substitute your own):

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

We recommend customizing the code you get slightly, like this:

<iframe
  width="500"
  height="315"
  src="https://www.youtube.com/embed/799i7Mx4sBU?si=sdgC2Rqvr35M2oHK&mute=1&autoplay=1&controls=0&rel=0&loop=1&playlist=799i7Mx4sBU"
  title="YouTube video player" frameborder="0"
  allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen>
</iframe>

What each change does

Autoplay the video

  • Add &mute=1&autoplay=1 to the end of the src — the video autoplays muted. (Without mute, autoplay won't work.)

Hide unnecessary elements

  • Add &controls=0 to the end of the src — hides the video controls.

  • Add &rel=0 to the end of the src — hides related videos after the video ends.

Loop the video

  • Add &loop=1&playlist=YOUR_VIDEO_ID to the end of the src.

Make the video fill the display

Using a video tag

Set your video's URL (e.g., an MP4 file) as the src. Adjust the other attributes as needed.

<video src="YOUR_VIDEO_URL" width="100%" height="auto" autoplay muted playsinline></video>
Did this answer your question?