How do I match the play timing of two VideoTextures?

There are two VideoTextures in this playground, used by emissiveTexture and opacityTexture, respectively.

The playback timing of the two videos may shift due to trivial factors, such as when the video is opened on a mobile device or has been open on a PC for some time.

How do I match the play timing of two VideoTextures?

Using the HTML Video element you can do something like this:

Alpha video texture | Babylon.js Playground (babylonjs.com)

3 Likes

One month of problems solved. Thank you so much.

2 Likes