Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_videoplayer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-03-21 13:06:41 +0300
committerGitHub <noreply@github.com>2019-03-21 13:06:41 +0300
commitc87bbd8c0039b46643e56ce9acc2fd7f88543f98 (patch)
treefb6bcbdd91f4df24be19ffc7fd16c2b98f37d5c2
parent3c5bb919fd4d016033d2383efb37c75f46ff6c29 (diff)
parentb473b04f07d93c3dc50f2ec9cdd6d50d43677ebb (diff)
Merge pull request #122 from MathieuDebit/stable15-fix-ignore-query-arguments-videov15.0.7v15.0.6RC1v15.0.6
Ignore query arguments in single video share for stable15 (Fix #121)
-rwxr-xr-xjs/viewer.js2
1 files changed, 1 insertions, 1 deletions
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);
}