diff --git a/index.html b/index.html index 3e6a54f..34f316b 100644 --- a/index.html +++ b/index.html @@ -124,14 +124,14 @@ -
+
-
+
@@ -168,6 +168,8 @@ +
+

@@ -181,6 +183,8 @@ +
+

@@ -248,8 +252,10 @@ masthead_video_mute(true); var button = $(event.relatedTarget); var youtube_id = button.data('youtubeid'); + var comment = button.data('comment'); var modal = $(this); modal.find('.modal-body iframe')[0].src = 'https://www.youtube.com/embed/' + youtube_id + "?modestbranding=1&rel=0&html5=1"; + modal.find('.modal-body p')[0].innerHTML = comment; }); $('#youtubeModal').on('hidden.bs.modal', function () { $(this).find('.modal-body iframe')[0].src = ""; @@ -259,8 +265,10 @@ masthead_video_mute(true); var button = $(event.relatedTarget); var vimeo_id = button.data('vimeoid'); + var comment = button.data('comment'); var modal = $(this); modal.find('.modal-body iframe')[0].src = 'https://player.vimeo.com/video/' + vimeo_id; + modal.find('.modal-body p')[0].innerHTML = comment; }); $('#vimeoModal').on('hidden.bs.modal', function () { $(this).find('.modal-body iframe')[0].src = "";