some changes

This commit is contained in:
sanj 2010-11-14 20:27:19 +05:30
parent 829f1a31b3
commit 033be4ad56
2 changed files with 2 additions and 4 deletions

View File

@ -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);

View File

@ -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);