forked from 0x2620/pandora
use direct download for private items. Torrents only work if item is public
This commit is contained in:
parent
f82f2d8b07
commit
d74a264a6a
3 changed files with 12 additions and 6 deletions
|
|
@ -83,8 +83,8 @@ pandora.ui.player = function(data) {
|
|||
return clip.annotation || ui.item + '/' + clip['in'] + '-' + clip.out;
|
||||
}), 'clip');
|
||||
},
|
||||
downloadvideo: function(data) {
|
||||
document.location.href = pandora.getDownloadLink(ui.item);
|
||||
downloadvideo: function() {
|
||||
document.location.href = pandora.getDownloadLink(ui.item, data.rightslevel);
|
||||
},
|
||||
find: function(data) {
|
||||
pandora.UI.set({itemFind: data.find});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue