From: Andrew Engelbrecht Date: Tue, 21 Mar 2017 23:50:23 +0000 (-0400) Subject: added date string to another generated url X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d901c86f24076caad2639bbce173b93272695a26;p=libreplanet-static.git added date string to another generated url to beat caching --- diff --git a/2017/assets/js/stream.js b/2017/assets/js/stream.js index 3447e49d..25dd5cae 100644 --- a/2017/assets/js/stream.js +++ b/2017/assets/js/stream.js @@ -112,7 +112,7 @@ app.changeVideoMount = function(video, mount) { // This is quite hacky and doesn't feel like the Mithril way to do // things, but we need to explicitly reload the video when the // source URL changes. - video.src = app.mountToStreamUrl(mount); + video.src = app.mountToStreamUrl(mount) + "?t=" + (new Date() * 1); video.load(); video.play(); };