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>2018-12-17 20:10:50 +0300
committerGitHub <noreply@github.com>2018-12-17 20:10:50 +0300
commit823361a859ea2a327343260af73c14e6f84be07b (patch)
tree2b5f70082045bcad29d99a06faed8e459313b9dd
parent3b35df3d8e0274af1d5ffb29005f2daae0c2edf5 (diff)
parenta1feee5e9aa5d976c148e07d2716ddea37dd00af (diff)
Merge pull request #74 from nextcloud/backport/73/stable15v15.0.2v15.0.1RC2v15.0.1RC1v15.0.1
[stable15] Do not get the url from the download links
-rwxr-xr-xjs/viewer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/viewer.js b/js/viewer.js
index d615ce3..f64bf39 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 = $('#downloadURL').val();
+ var videoUrl = window.location + '/download';
videoViewer.onViewInline($('#imgframe'), videoUrl, mimetype);
}