Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Embedding a YouTube video in an AEM cloud Screens channel

Avatar

Level 1

Hi team

I'd like to embed a YouTube video on a Channel in AEM Screens.

I've tried using the Embedded page component without luck and the Video component assumes the media is hosted within AEM.

Any advice on how or pointers to resources would be appreciated.

 

Regards
Croydon

6 Replies

Avatar

Level 5

Hi @Croydon ,

Try this to embed a YouTube video in AEM Screens, use the HTML Widget in your channel and point it to a custom HTML file with an iframe like this:


<iframe
src="https://www.youtube.com/embed/YOUTUBE_VIDEO_ID?autoplay=1&controls=1"
width="100%" height="100%" frameborder="0" allow="autoplay; fullscreen">
</iframe>

 

Upload this HTML file to AEM DAM and link to it from the HTML Widget.

Let me know if it works.
Thanks.

Avatar

Level 1

Thanks for the lead.

However there is no HTML widget component available to add to the Channel.

Croydon_0-1746046377854.png

 

Avatar

Community Advisor

Hi @Croydon ,

1. Create an HTML File

Create a simple .html file with the following code:

<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>YouTube Video</title>
  <style>
    html, body {
      margin: 0;
      padding: 0;
      height: 100%;
      background-color: black;
    }
    iframe {
      width: 100%;
      height: 100%;
      border: none;
    }
  </style>
</head>
<body>
  <iframe
    src="https://www.youtube.com/embed/YOUTUBE_VIDEO_ID?autoplay=1&controls=1&mute=1&loop=1&playlist=YOUTUBE_VIDEO_ID"
    allow="autoplay; fullscreen">
  </iframe>
</body>
</html>

Replace YOUTUBE_VIDEO_ID with your actual YouTube video ID.

2. Upload to AEM DAM

Go to Assets > Files.

Upload the .html file (e.g., /content/dam/screens/html/youtube-video.html).

3. Add to HTML Widget in AEM Screens

Go to AEM Screens > Channels.

Select your channel.

Add an HTML Widget.

In its properties, set the URL to the DAM path:
/content/dam/screens/html/youtube-video.html

Note:

If autoplay doesn’t work, ensure the video is muted (some players restrict autoplay with sound).

You may also use a loop parameter as shown above.

Avatar

Level 1

Thanks for the lead.
However there is no HTML widget component available to add to the Channel.

Croydon_0-1746155989934.png

 



Avatar

Community Advisor

@Croydon Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!


Aanchal Sikka

Avatar

Level 1

Hi
I don't have visibility of an html widget, as per my feedback on the replies, so they were of limited usefulness without this.
Regards
Croydon