bbc / VideoContext

An experimental HTML5 & WebGL video composition and rendering API.
http://bbc.github.io/VideoContext/
Apache License 2.0
1.33k stars 157 forks source link

Do start, stop functions take only seconds? #225

Open scar-2018 opened 3 years ago

scar-2018 commented 3 years ago
const vCtx = new VideoContext(canvas);
node = vCtx.video(`${videoPath}`);
node.start(0.5);
node.stop(5.5);

I want to start the video from .5s till 5.5s. But it looks like start/stop functions take only seconds. All sample codes also use seconds, not milliseconds.

Is there any way to feed milliseconds in start/stop functions?