From 2dd0fae7d96ca06dc94cdb9a0474f35f82884f66 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 6 Feb 2014 14:23:29 +0000 Subject: [PATCH] pass clip id with videos --- static/js/utils.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/js/utils.js b/static/js/utils.js index e8dd789b7..ea6fee6c7 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -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; }