forked from 0x2620/pandora
pass clip id with videos
This commit is contained in:
parent
db06621528
commit
2dd0fae7d9
1 changed files with 3 additions and 0 deletions
|
@ -935,6 +935,9 @@ pandora.getClipVideos = function(clip, resolution) {
|
|||
if (currentTime + clip.durations[i] <= start || currentTime > end) {
|
||||
item = null;
|
||||
} else {
|
||||
if (clip.id) {
|
||||
item.id = clip.id;
|
||||
}
|
||||
if (currentTime <= start && currentTime + clip.durations[i] > start) {
|
||||
item['in'] = start - currentTime;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue