Video texture go to timeframe


is there a way to jump to a timeframe in a video texture?
And is it possible to restart the clip via script without reloading it?

thanks :slight_smile:

The internal video DOM object is accessible via the property, which allows you to control some characteristics and monitor the status of the video.
Here is the PG example -
As one may see at the line 23 = 31;
so video starts from the 31st second.
If you’ll click on video to play/pause, you’ll see HTMLMediaElement.currentTime value in console.
For restart without reloading - I believe it is calling ‘loop’ and may be set to true in VideoTextureSettings | Babylon.js Documentation


Hi labris, thanks a lot, that’s exactly what I was looking for! :slight_smile: