Closed s3bubble closed 2 years ago
Please, provide a working jsfiddle. Closing in the meantime.
Sure thing here you go I have used jsbin you can see the code in the javascript tab.
https://output.jsbin.com/fuqiyawatu/8
Open in Safari and set the user agent. It will show the same issue I am getting on iPhone.
Thanks
Can this issue be reopened now?
You are using three.js
in version r83
as well as VREffect
and VRControls
. We do not maintain this code anymore.
Please redirect your question to the forum.
Hi,
Thanks for the response happy to use the latest version but I cant find one example that works on my phone with three.js.
I know you have the examples.
https://threejs.org/examples/?q=video#webxr_vr_video
But none of these work on my phone.
The only tutorial I could get to work was from here.
https://hermionewy.github.io/webVR_tutorial/
All of them say webxr not available i am testing on and iPhone 12.
Do you have any working three.js video vr examples, that will work on an iPhone with a Google Cardboard?
No, we don't. Sorry.
It will work tho right? There are just no examples? I can try put one together for 360 vr.
We do not support Cardboard anymore. Sorry.
Ok thanks @mrdoob at least I know where we stand so the only way to get this working with cardboard or iPhone 360 video vr is to use the old webvr setup.
This guy seems to have attempted something https://github.com/thomasdeppisch/videojs-xr maybe I can grab something from this.
I guess people are no longer using Google cardboard for vr? need to get up to speed with this not really looked into vr much just have a Google cardboard lying about to test with.
Just prototyping and testing some stuff at the moment.
Describe the bug
I am trying to get something up an running for videojs vr. Everything thing works I just have one issue when running the project on a google cardboard the image is slightly of.
See this image.
You should notice the swans are not aligned.
To Reproduce
Clone this repo. https://github.com/s3bubble/videojs-vr
git clone https://github.com/s3bubble/videojs-vr.git
npm start.
Open in Safari browser with user agent iphone set.
Click play and then the enter vr button overlayed
You should then see the issue I am getting with the images being slightly off.
This is the same issue I am getting when using a Google cardboard.
All the code is in this file.
https://github.com/s3bubble/videojs-vr/blob/d565c9865fbc69a7283a4397549677e8a3f57a98/src/plugin.js#L148
Thanks