Skip to content
Titanium module for playing VR videos (stereo and 360°)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings
android
assets
documentation
example
.classpath
.gitignore
.project
LICENSE
README.md

README.md

#Ti.VRview

It is a Titanium module for realizing of a VR view for cardboard and DayDream. It supports video and images, mono and stereo.

The project is work in progress and no ready for use.

##Usage
var VR = require("de.appwerft.vrview");
var win = Ti.UI.createWindow({
	theme : "Theme.AppCompat.NoTitleBar.Fullscreen"
});
var vrView = VR.createVrVideoView({
	autostart : true,
	isStereo : true
});
vrView.loadVideo("http://tools.webmasterei.com/vrview/VRtest.mp4");
vrView.playVideo();
win.add(vrView);

Don't forget to restrict the screenorientation to "landscape"!

<activity 
	android:name="org.appcelerator.titanium.TiActivity" 
	android:screenOrientation="landscape" 
	android:configChanges="keyboardHidden|screenSize"
/>
		
You can’t perform that action at this time.