hack-fix, ultimately, please fix utils.js parseUrl function
This commit is contained in:
parent
a134d32a10
commit
0e1819b630
|
@ -15,11 +15,13 @@ $(function() {
|
|||
function setupPadmaLink(videoObj, data) {
|
||||
var $a = $(data.jq);
|
||||
// $a.data("isDisplayed", false);
|
||||
if (!$.inArray(data.linkData.type, ["info", "editor", "tcRange"])) {
|
||||
|
||||
//FIXME: tc is WRONG!!!
|
||||
if (!$.inArray(data.linkData.type, ["info", "editor", "tc", "tcRange"])) {
|
||||
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.type == "tc") {
|
||||
data.linkData.tcIn = ms2npt(0);
|
||||
data.linkData.tcOut = ms2npt(videoObj.video.duration);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user