diff --git a/assets/zip/personnal-data-export-navigator/assets/js/main.js b/assets/zip/personnal-data-export-navigator/assets/js/main.js index 4ccac477..ad82a206 100644 --- a/assets/zip/personnal-data-export-navigator/assets/js/main.js +++ b/assets/zip/personnal-data-export-navigator/assets/js/main.js @@ -216,6 +216,7 @@ function ApplyPosts(){ //Process different kind of posts + //Post with image if(post.kind == "image") { var image = createElem2({ @@ -227,6 +228,19 @@ function ApplyPosts(){ } + //Post with YouTube video + if(post.kind == "youtube"){ + + let youtube_link = "https://www.youtube.com/watch?v=" + post.file_path; + + createElem2({ + appendTo: cardContent, + type: "p", + innerHTML: "Target Video : " + youtube_link + "" + }); + + } + //Display the list of comments let postComments = createElem2({