videojs / videojs-vr

A plugin to add 360 and VR video support to video.js.
https://videojs-vr.netlify.com/
MIT License
543 stars 145 forks source link

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

Closed dioramayuanito closed 6 years ago

dioramayuanito commented 6 years ago

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 commented 6 years ago

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

dioramayuanito commented 6 years ago

thanks @BrandonOCasey , you're Awesome 👍

brandonocasey commented 6 years ago

Should be out in 1.5.0

mrkos67 commented 4 years ago

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.