diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-12-17 20:10:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-17 20:10:50 +0300 |
commit | 823361a859ea2a327343260af73c14e6f84be07b (patch) | |
tree | 2b5f70082045bcad29d99a06faed8e459313b9dd | |
parent | 3b35df3d8e0274af1d5ffb29005f2daae0c2edf5 (diff) | |
parent | a1feee5e9aa5d976c148e07d2716ddea37dd00af (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-x | js/viewer.js | 2 |
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); } |