Fix performance cliff with Video Textures
@@ -49,7 +49,9 @@
if (urls) {
this.video.addEventListener("canplay", () => {
- this._createTexture();
+ if (this._texture === undefined){
+ this._createTexture();
+ }
});
urls.forEach(url => {
var source = document.createElement("source");