the thing is I added a video in the game and this happened but when I remove the video it works perfectly fine and all I did was to follow the tutorial on how to put in the video
Do you get any errors in the console when running the build url? Javascript exceptions can potentially stop the execution of the thread, so the application may not fully load.
Ah right, you need to enable CORS on the server that’s serving your video resource. That’s not related with Playcanvas, you will have to do it on your hosting account/service provider.
Btw as a side note, just to bring it to your attention in case you didn’t see to it yet:
13 million polygons are too many, even for native/desktop 3D applications. You should most likely optimize this if you are targeting a wide release of the app. Also the VRAM allocation being 1.7GB targets only high end discreet GPUs.
What was needed is to set the video div crossOrigin
// needed because the video is being hosted on a different server url
video.crossOrigin = "anonymous";
// set video source
video.src = this.video.getFileUrl();