debug code

This commit is contained in:
sanj 2010-12-30 21:28:31 +05:30
parent 9e348852d7
commit a134d32a10

View File

@ -18,11 +18,11 @@ function setupPadmaLink(videoObj, data) {
if (!$.inArray(data.linkData.type, ["info", "editor", "tcRange"])) { if (!$.inArray(data.linkData.type, ["info", "editor", "tcRange"])) {
return false; return false;
} }
console.log(data.linkData);
if (data.linkData.type == 'info' || data.linkData.type == 'editor') { if (data.linkData.type == 'info' || data.linkData.type == 'editor') {
data.linkData.tcIn = ms2npt(0); data.linkData.tcIn = ms2npt(0);
data.linkData.tcOut = ms2npt(videoObj.video.duration); data.linkData.tcOut = ms2npt(videoObj.video.duration);
console.log(data.linkData);
data.linkData.type = "tcRange"; data.linkData.type = "tcRange";
} }