Nagaraju Posted October 9, 2019 Share Posted October 9, 2019 Hi I am getting empty screen saying an error that (INVALID_VALUE: tex(Sub)Image2D: video visible size is empty) while playing video in chrome V77.038 but playing as many times without any issue in firefox V 69.02. Quote Link to comment Share on other sites More sharing options...
Nagaraju Posted October 9, 2019 Author Share Posted October 9, 2019 I could able to fix this issue. This could be the known answer but it is new to me..? var video = document.createElement("video"); let id = "videoPixi"+this.screenData.screenId; video.id = id; video.crossOrigin = "anonymous"; video.src = (this.screenData.background.video.currentUrl); document.body.appendChild(video); var video = document.querySelector("#"+id); //video.preload = 'metadata'; video.preload = 'auto'; video.autoload = true; The above two lines in bold made my day ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted October 9, 2019 Share Posted October 9, 2019 Something-something was in pixijs issues regarding chrome 76-77 videos, please search there https://github.com/pixijs/pixi.js/issues?utf8=✓&q=is%3Aissue+video Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.