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

Commit

Permalink
Ignore query arguments in single video share
Browse files Browse the repository at this point in the history
Same fix as commit 4da10ee for stable15
  • Loading branch information
MathieuDebit committed Mar 17, 2019
1 parent 3c5bb91 commit b214f85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

Skin: https://github.com/cabin/videojs-sublime-skin
</description>
<version>1.4.0</version>
<version>1.4.1</version>
<licence>MIT</licence>
<author>Björn Korella</author>
<default_enable/>
Expand Down
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 = window.location + '/download';
var videoUrl = window.location.href.split('?')[0] + '/download';
videoViewer.onViewInline($('#imgframe'), videoUrl, mimetype);
}

Expand Down

0 comments on commit b214f85

Please sign in to comment.