You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now this plugin watches window for touch/keyboard/mouse events. Which means that any interaction on the page will move the camera in the 360 video. This is probably not something that should happen, but the only way to fix it is to roll our own controls and listen to events on the video.js player only.
Steps:
Use the window.WebVRConfig from plugin.js to set:
MOUSE_KEYBOARD_CONTROLS_DISABLED to true
TOUCH_PANNER_DISABLED to true
reimplement mouse/keyboard controls using webvr-polyfill/src/mouse-keyboard-vr-display.js as a base
reimplement touch controls using webvr-polyfill/src/touch-panner.js as a base
Possibly turn of Cardboard VR, and reimplement only in fullscreen?
The text was updated successfully, but these errors were encountered:
Right now this plugin watches
window
fortouch
/keyboard
/mouse
events. Which means that any interaction on the page will move the camera in the 360 video. This is probably not something that should happen, but the only way to fix it is to roll our own controls and listen to events on thevideo.js
player only.Steps:
webvr-polyfill/src/mouse-keyboard-vr-display.js
as a basewebvr-polyfill/src/touch-panner.js
as a baseThe text was updated successfully, but these errors were encountered: