Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #74 from nextcloud/backport/73/stable15
Browse files Browse the repository at this point in the history
[stable15] Do not get the url from the download links
  • Loading branch information
juliusknorr authored Dec 17, 2018
2 parents 3b35df3 + a1feee5 commit 823361a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 823361a

Please sign in to comment.