Clips Découverte Autoplay (zuhayrx)

Thank you BarryCarlyon but the integration of clips does not allow me to sort the clips (by quantity, by trend, in 24h, 7j …) that’s why I use the API request.

But all the clips that appear on my page using this are in autoplay:

function clipsLoaded() {
var clipsDisplay = document.getElementById(‘clips-display’),
clipList = JSON.parse(httpRequest.responseText);

clipList.clips.forEach(function(clip, index, array) {
    clipItem = document.createElement('div');
    clipItem.innerHTML = clip.embed_html;
    clipsDisplay.appendChild(clipItem);
	

});

}

Is it not possible to modify this JS code to deactivate the autoplay?
Sorry I’m a beginner :sweat_smile: