From b214f85d4cb3b34443b5b5a58fa95a8819bfb904 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathieu=20D=C3=A9bit?= Date: Sun, 17 Mar 2019 17:29:08 +0100 Subject: [PATCH] Ignore query arguments in single video share Same fix as commit 4da10ee95fb355527730567d00fcb131dac24418 for stable15 --- appinfo/info.xml | 2 +- js/viewer.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index 92fb874..3f5b37d 100755 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -10,7 +10,7 @@ Skin: https://github.com/cabin/videojs-sublime-skin - 1.4.0 + 1.4.1 MIT Björn Korella diff --git a/js/viewer.js b/js/viewer.js index f64bf39..7ca932b 100755 --- a/js/viewer.js +++ b/js/viewer.js @@ -147,7 +147,7 @@ $(document).ready(function(){ } if($('#body-public').length && $('#imgframe').length && isSupportedMimetype) { - var videoUrl = window.location + '/download'; + var videoUrl = window.location.href.split('?')[0] + '/download'; videoViewer.onViewInline($('#imgframe'), videoUrl, mimetype); }