I am currently working with THREE.js and trying to create a 360 video viewer that is compatible with mobile devices. However, I am facing an issue where orbitControls does not seem to be functioning properly on my phone, even though it works perfectly on my computer.
I have searched for solutions and tried different approaches, but so far, I have not been able to find a resolution to this problem. Despite reading that it should work on mobile, I cannot get it to function as expected.
https://jsfiddle.net/wmorris01/3ctv9hdL/2/
controls = new THREE.OrbitControls(camera, renderer.domElement)
controls.enabled = true
controls.touches.ONE = THREE.TOUCH.PAN
controls.touches.TWO = THREE.TOUCH.DOLLY_ROTATE