Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create an option from config to disable motion sensor in android devide for display movement #127

Closed
dioramayuanito opened this issue Aug 29, 2018 · 4 comments

Comments

@dioramayuanito
Copy link

Hello guys!
i just wanna say : thanks a lot for this great plugin ! 👍
after some experiment in http://flowplugs.detik.com/detikVideo/test/indexvr.php
sometime in android device (Opera and Chrome browsers), video display will be shaking because of motion sensor. I want to disable motion sensor usage, and make movement control by touching the display only.
How to achieve those things?

@brandonocasey
Copy link
Contributor

This should be fixed when #137 gets merged and released. The option should be called motionControls

@dioramayuanito
Copy link
Author

thanks @brandonocasey , you're Awesome 👍

@brandonocasey
Copy link
Contributor

Should be out in 1.5.0

@mrkos67
Copy link

mrkos67 commented Sep 22, 2020

question: this seems to enable/disable motionControls during initialization; how would I toggle motionControls off and on in real time without the screwiness that i've discovered and outlined below?

I've tried:
vjs.vr().controls3d.orientation.enabled = true/false
and
vjs.vr().controls3d.orientation.connect()/disconnect()
but once I do that, the FOV goes straight up or straight down and spins around spastically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants