From d901c86f24076caad2639bbce173b93272695a26 Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Tue, 21 Mar 2017 19:50:23 -0400 Subject: [PATCH] added date string to another generated url to beat caching --- 2017/assets/js/stream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }; -- 2.25.1