pass clip id with videos

This commit is contained in:
j 2014-02-06 14:23:29 +00:00
parent db06621528
commit 2dd0fae7d9

View file

@ -935,6 +935,9 @@ pandora.getClipVideos = function(clip, resolution) {
if (currentTime + clip.durations[i] <= start || currentTime > end) { if (currentTime + clip.durations[i] <= start || currentTime > end) {
item = null; item = null;
} else { } else {
if (clip.id) {
item.id = clip.id;
}
if (currentTime <= start && currentTime + clip.durations[i] > start) { if (currentTime <= start && currentTime + clip.durations[i] > start) {
item['in'] = start - currentTime; item['in'] = start - currentTime;
} }