Difference between revisions of "Msc1G4:Group"
From rbse
Line 47: | Line 47: | ||
</div> | </div> | ||
− | <div id="vrview"></div> | + | <html> |
− | + | <div id="vrview"></div> | |
+ | <script src="/vrview-master/build/vrview.js"></script> | ||
+ | <script> | ||
+ | var vrView; | ||
+ | function onLoad() { | ||
+ | vrView = new VRView.Player('#vrview', { | ||
+ | width: '100%', | ||
+ | height: 480, | ||
+ | image: '/images/3/33/BEDROOM_RENDER_F.jpg', | ||
+ | preview: '/vrview-master/examples/gallery/petra-preview.jpg', | ||
+ | is_stereo: false, | ||
+ | is_autopan_off: true | ||
+ | }); | ||
+ | vrView.on('ready', onVRViewReady); | ||
+ | vrView.on('modechange', onModeChange); | ||
+ | vrView.on('error', onVRViewError); | ||
+ | } | ||
+ | window.addEventListener('load', onLoad); | ||
+ | </script> | ||
+ | </html> | ||
Revision as of 08:53, 3 February 2017