Inlined Getting Started video

This commit is contained in:
Lennart Ziburski
2018-02-27 00:27:12 +01:00
parent 65324ecf9f
commit 52ba3232be
3 changed files with 12 additions and 3 deletions

View File

@ -122,3 +122,12 @@ var eventInfoLoad = function() {
}
eventInfoLoad();
// Load inline YouTube video
var embedcode = '<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/p6h-rYSVX90?rel=0&amp;showinfo=0&amp;autoplay=1" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>';
$('.hero-videolink').click(function() {
$('.hero-graphic img').replaceWith(embedcode);
$(this).remove();
});