some changes
This commit is contained in:
parent
829f1a31b3
commit
033be4ad56
|
@ -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);
|
||||
|
|
1
text.js
1
text.js
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user