silly console.log
This commit is contained in:
parent
f838af237e
commit
00ff83db4f
2
test.js
2
test.js
|
@ -16,7 +16,7 @@ function setupPadmaLink(video, data) {
|
||||||
switch (linkData.type) {
|
switch (linkData.type) {
|
||||||
case "tcRange":
|
case "tcRange":
|
||||||
var mid_frame_npt = ms2npt(parseInt((npt2ms(linkData.tcIn) + npt2ms(linkData.tcOut)) / 2));
|
var mid_frame_npt = ms2npt(parseInt((npt2ms(linkData.tcIn) + npt2ms(linkData.tcOut)) / 2));
|
||||||
console.log(mid_frame_npt);
|
// console.log(mid_frame_npt);
|
||||||
var thumbUrl = video.getFrame(mid_frame_npt);
|
var thumbUrl = video.getFrame(mid_frame_npt);
|
||||||
default:
|
default:
|
||||||
var frame_npt = ms2npt(video.video.poster_frame);
|
var frame_npt = ms2npt(video.video.poster_frame);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user