From 993b799f6288c9e48344bb1e780b199f469edd96 Mon Sep 17 00:00:00 2001 From: Jerome Charaoui Date: Sun, 22 Dec 2013 03:04:30 -0500 Subject: [PATCH] Implement tag --- web/js/011-display.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/js/011-display.js b/web/js/011-display.js index d452237..a985ebf 100644 --- a/web/js/011-display.js +++ b/web/js/011-display.js @@ -194,6 +194,7 @@ $(document).ready(function() { .attr("src", videoSrc) .attr("alt", currentPhoto.name) .on('loadstart', scaleVideo); + $("head").append(""); $("#video-box-inner").css('height', height + 'px').css('margin-top', - height / 2); $("#photo-box").hide(); $("#video-box").show(); @@ -305,6 +306,7 @@ $(document).ready(function() { $(window).hashchange(function() { $("#loading").show(); $("link[rel=image_src]").remove(); + $("link[rel=video_src]").remove(); if (location.search.indexOf("?_escaped_fragment_=") === 0) { location.hash = location.search.substring(20); location.search = "";