Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Adding a video in aem page.


Level 2

I wanted to add a video component to my page in AEM. How can I achieve the same? What are the various options available to do so?








1 Accepted Solution


Correct answer by
Level 1
Level 1
3 Replies


Level 3

Hi @Dvaraka ,

If it's a video hosted on third-party hosting services such as youtube or Brightcove you can use the embed core component.



Let me know if it works.



Correct answer by
Level 1
Level 1


Level 1

Hi ish,

when i am working on redquark video component, Pause and Play button is not working i gone through the another js script but its not working. I am pasting the js and html can you check once





<div class="buttons">
<button class="button" onclick="playVideo()" >PLAY</button>
<button class="button" id="pause-button">PAUSE</button>
<button class="button" id="stop-button">STOP</button>

<iframe id="video" src="${properties.link}" frameborder="0" allowfullscreen></iframe>

function playVideo(){
var my=document.getElementById("video");

</script> -->


<a id="play-video" href="#">Play Video</a><br />

<iframe id="video" width="420" height="315" src="${properties.link}" frameborder="0" allowfullscreen></iframe>

$(document).ready(function() {
$('#play-video').on('click', function(ev) {

$("#video")[0].src += "&autoplay=1";