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) {
var $a = $(data.jq);
// $a.data("isDisplayed", false);
var linkData = data.linkData;
if (linkData.type in ['info', 'editor']) {
linkData.tcIn = ms2npt(0);
linkData.tcOut = ms2npt(videoObj.video.duration);
if (data.linkData.type in ['info', 'editor', 'tcRange']) {} else { return false; }
if (data.linkData.type in ['info', 'editor']) {
data.linkData.tcIn = ms2npt(0);
data.linkData.tcOut = ms2npt(videoObj.video.duration);
}
var linkData = data.linkData;
//FIXME: put this as a variable, option somewhere?
var $container = padmaContainer;
videoObj.currentLayers = [];