I'm completely new to pixi.js and i have trouble to replace a video by another video in my canvas.
i wrote this code to launch the first video :
const video = PIXI.Texture.from('img/dc.mp4');
far = new PIXI.extras.TilingSprite(video, 1920, 1080);
and when i want to replace this video i used this :
var video2 = PIXI.Texture.fromVideo('img/sd9.mp4');
far = new PIXI.extras.TilingSprite(video2, 1920, 1080);
it works but i ve some errors in the console :
it say :
TypeError: this.source is null
TypeError: null has no properties
and the number of this last error is growing in time ;
Can someone explain me what is wrong and what should i do to resolve those errors. i don't know if there is a more simple way to update the video.