diff --git a/src/utils/vr-caps-detect.js b/src/utils/vr-caps-detect.js index 979fabd2104e970e4d6b12b64e63a06e3ff3583c..42f3c667669b89853d5eb5b6750b358c4724c503 100644 --- a/src/utils/vr-caps-detect.js +++ b/src/utils/vr-caps-detect.js @@ -44,6 +44,7 @@ export async function getAvailableVREntryTypes() { const isOculusBrowser = navigator.userAgent.match(/Oculus/); const isDaydreamCapableBrowser = !!(isWebVRCapableBrowser && browser.name === "chrome" && !isSamsungBrowser); const isIPhone = navigator.userAgent.match(/iPhone/); + const isFirefoxBrowser = navigator.userAgent.match(/Firefox/); let generic = VR_DEVICE_AVAILABILITY.no; let cardboard = VR_DEVICE_AVAILABILITY.no;