diff --git a/js/youtube.js b/js/youtube.js index 5537b931..f3c89595 100644 --- a/js/youtube.js +++ b/js/youtube.js @@ -23,21 +23,36 @@ */ onReady(function() { - let do_embed_yt = function(tag) { - $('div.video-container a', tag).click(function() { - let videoID = $(this.parentNode).data('video'); + const ON = "[Remove]"; + const OFF = "[Embed]"; - $(this.parentNode).html('