The current demo implementation uses the WebVR API. This API has been deprecated and as a result, this demo does not work on some VR headsets (e.g. Meta Quest 2). The WebVR API has been replaced with the WebXR API. Re-implement the demo using this API.