Hi.
In a Nodejs based realtime game, I want to edit the time of the running video when the user logs in to the game. Since there are multiple scenes in the game and I use (timeline to) in these scenes, I transfer the user to the scene with (seek).
getTime(3);
function getTime(time)
{
tm.to(coming_question_section, { display: "block" }, "coming_video");
tm.to(coming_question_video, { onStart:videoPos, onStartParams:[time] }, "coming_video");
tm.to(coming_question_section, { display: "none" }, "question");
tm.to(question_section, { display: "block", onStart:startQuestion,onStartParams: [0] }, "question");
tm.seek(time);
}
function videoPos(p)
{
coming_question_video.currentTime = p ;
}
When I set a value of 0 to the getTime function, there is no problem. But, when I give a value of 3, there is a problem. The video starts from 0.