Difference between revisions of "Msc1G4:Student2"

From rbse
Jump to: navigation, search
Line 48: Line 48:
  
  
<div>[[File:Presentation_VERTICALITY.jpg | 850px]]</div>
+
<html>   
 +
    <div id="vrview"></div>
  
<div>[[File:Kkkk-copy.jpg | 850px]]</div>
+
    <script src="/vrview-master/build/vrview.js"></script>
 
+
<script>
 
+
var vrView;
<div>[[File:Privacy_gradient_1.jpg | 850px]]</div>
+
function onLoad() {
 
+
  vrView = new VRView.Player('#vrview', {
 
+
width: '100%',
<div>[[File:Privacy_gradient_2.jpg | 850px]]</div>
+
height: 480,
 
+
image: '/images/9/9a/GROUND_FLOOR_EXTERNAL.jpg',
 
+
preview: '/vrview-master/examples/gallery/petra-preview.jpg',
<div>[[File:Privacy_gradient_3.jpg | 850px]]</div>
+
is_stereo: false,
 
+
is_autopan_off: true
 
+
  });
<div>[[File:Fixed_and_flexible_inside_unit.jpg | 850px]]</div>
+
  vrView.on('ready', onVRViewReady);
 
+
  vrView.on('modechange', onModeChange);
<div>[[File:Blankkkkkk.jpg | 850px]]</div>
+
  vrView.on('error', onVRViewError);
 +
}
 +
window.addEventListener('load', onLoad);
 +
</script>
 +
</html>

Revision as of 10:32, 3 February 2017