fix a bug where the full video would be blacked out even though the user was allowed to see clips
This commit is contained in:
parent
916606ef51
commit
49d13a1a78
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ pandora.ui.item = function() {
|
||||||
: Ox.range(0, result.data.duration - 5, 60).map(function(position) {
|
: Ox.range(0, result.data.duration - 5, 60).map(function(position) {
|
||||||
return {
|
return {
|
||||||
'in': position + 5,
|
'in': position + 5,
|
||||||
out: Math.max(position + 60, result.data.duration)
|
out: Math.min(position + 60, result.data.duration)
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue