This commit is contained in:
sanj 2010-12-30 21:05:52 +05:30
parent 54b2c3eb6b
commit 56ede627bd

View File

@ -15,11 +15,13 @@ $(function() {
function setupPadmaLink(videoObj, data) { function setupPadmaLink(videoObj, data) {
var $a = $(data.jq); var $a = $(data.jq);
// $a.data("isDisplayed", false); // $a.data("isDisplayed", false);
var linkData = data.linkData; if (data.linkData.type in ['info', 'editor', 'tcRange']) {} else { return false; }
if (linkData.type in ['info', 'editor']) {
linkData.tcIn = ms2npt(0); if (data.linkData.type in ['info', 'editor']) {
linkData.tcOut = ms2npt(videoObj.video.duration); data.linkData.tcIn = ms2npt(0);
data.linkData.tcOut = ms2npt(videoObj.video.duration);
} }
var linkData = data.linkData;
//FIXME: put this as a variable, option somewhere? //FIXME: put this as a variable, option somewhere?
var $container = padmaContainer; var $container = padmaContainer;
videoObj.currentLayers = []; videoObj.currentLayers = [];