This commit is contained in:
arussac
2025-03-10 16:50:30 +01:00
parent f359281afe
commit bbcffff85e
2 changed files with 9 additions and 2 deletions

View File

@@ -163,9 +163,12 @@ document.addEventListener("DOMContentLoaded", async () => {
alert('Nouvelle vidéo enregistrée :\nNom : ' + nameVideo +
'\nRésolution : ' + videoResolution +
'\nDurée : ' + videoDuration + ' secondes');
}).then(()=>{
}).then((data)=>{
console.log(data);
console.log(" ")
getDataProjectVideosFromApi(projectId).then((data)=>{
console.log(data)
idVideo = data[data.length-1].id
console.log(idVideo)
renderVideo(idVideo)
})
})