Cardboard SDK initializes VRVideoView in full screen mode and in VR mode (Split Screen)

I do not know why there is no public API in VrVideoView for entering full-screen mode or VR Split (Stereoscopic) mode.

I have to use the cardboard icon in the lower left corner of the view to enter VR mode.

I managed to get into fully functional mode using the following code, but this is not the same for me.

videoWidgetView.fullScreenDialog.show();
+4
source share
1 answer

If it is still necessary. Make sure you have the latest version (checked on 0.9.1)

For full screen use

videoWidgetView.setDisplayMode(VrVideoView.DisplayMode.FULLSCREEN_MONO;

for VR glasses use

videoWidgetView.setDisplayMode(VrVideoView.DisplayMode.FULLSCREEN_STEREO);
+5
source

All Articles