diff --git a/static/videoOverlay.js b/static/videoOverlay.js index d81f659..18b381a 100644 --- a/static/videoOverlay.js +++ b/static/videoOverlay.js @@ -51,7 +51,7 @@ function getVideoOverlay(page) { iframe.height = '100%'; iframe.frameborder = 0; iframe.id = 'video' + page + id; - iframe.src = getEmbedUrl(iframe.id, videoOverlay[page][id]); + iframe.src = getEmbedURL(iframe.id, videoOverlay[page][id]); div.appendChild(iframe); Array.prototype.forEach.call(div.getElementsByClassName('button'), function(e) { e.style.display = 'none';