From 033be4ad56226cec958944471a66d3dde811c50a Mon Sep 17 00:00:00 2001 From: sanj Date: Sun, 14 Nov 2010 20:27:19 +0530 Subject: [PATCH] some changes --- padma.layers.js | 5 ++--- text.js | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/padma.layers.js b/padma.layers.js index 2607464..a356fdc 100644 --- a/padma.layers.js +++ b/padma.layers.js @@ -4,6 +4,7 @@ var padmaVideo = function(videoId) { this.id = videoId; this.videoUrl = BASE_URL + videoId + "/video.js"; this.layersUrl = BASE_URL + videoId + "/layers.js"; + this.infoUrl = BASE_URL + videoId + "/info"; this.hasVideoData = false; this.hasLayersData = false; this.hasAllData = false; @@ -53,12 +54,10 @@ padmaVideo.prototype.getLayerVideo = function(tcIn, tcOut) { padmaVideo.prototype.noop = function() { // console.log("I'm done:)"); -// $.noop(); + $.noop(); } padmaVideo.prototype.getVideoData = function(callback, data) { - - var that = this; if (this.hasVideoData) { callback(that, data); diff --git a/text.js b/text.js index d13890c..a78e055 100644 --- a/text.js +++ b/text.js @@ -20,7 +20,6 @@ function setupPadmaLink(videoObj, data) { videoObj.currentLayers = []; switch (linkData.type) { case "tcRange": - console.log("hi"); var mid_frame_npt = ms2npt(parseInt((npt2ms(linkData.tcIn) + npt2ms(linkData.tcOut)) / 2)); // console.log(mid_frame_npt); var thumbUrl = videoObj.getFrame(mid_frame_npt);