It does not seem possible to load different video textures:
https://playcanvas.com/editor/scene/1116344
Falls back on playing one texture only, and then plays other asset video afterwards.
Adding more videos to the mix only make the problem worse.
It does not seem possible to load different video textures:
https://playcanvas.com/editor/scene/1116344
Falls back on playing one texture only, and then plays other asset video afterwards.
Adding more videos to the mix only make the problem worse.
ok, nice. Works.
So to get it right. The difference lays within:
video.addEventListener(‘canplaythrough’, function (e) {
app.fire(this.playEvent, this.videoTexture);
video.play();
}.bind(this));
Where you use canplay instead and without video.play.
Guess it evolves around the videos laying in a list of instances the original example ‘plays through’?