-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (46 loc) · 2.07 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>VR Based Education</title>
<meta name="description" content="Web2VR">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="./assets/js/aframe.min.js"></script>
<script src="./assets/js/quickxr.js"></script>
<link rel="stylesheet" href="./assets/css/style.css">
</head>
<body>
<div id="html-container">
<img class="animate__css" id="titleImage" src="./assets/images/title.png" alt="logo" height="90" width="300" />
<span id="liveStatus">.</span>
<div id="enterVRButtonContainer">
<img class="animate__css" id="enterVR" src="./assets/images/enterVR.png" alt="enterVR" height="30"
width="85" />
</div>
<div id="content"></div>
<div id="formContainer">
<input type="text" id="videoId" placeholder="Enter Youtube Video ID" value="2CuDTaImNfo" />
<img class="animate__css" src="./assets/images/letsGo.png" id="submitYoutubeId" alt="enterVideoId"
height="30" width="160" />
</div>
</div>
<div id="questionPanel">
<div id="buttonsContainer"></div>
</div>
<div id="doubtPanel"></div>
<div id="stirPanel"></div>
<div id="summarizePanel"></div>
<a-scene renderer="colorManagement:false;" shadow="type: pcfsoft" id="a-scene">
<a-camera wasd-controls-enabled="false"></a-camera>
<a-assets>
<a-asset-item id="environment" src="./assets/models/environment.glb"></a-asset-item>
<!-- <a-asset-item id="videoFrame" src="./assets/images/frame.png" crossorigin="anonymous"></a-asset-item> -->
</a-assets>
<a-entity position="0.2 0 0" scale="1.5 1.5 1.5" rotation="" gltf-model="#environment"></a-entity>
<!-- <a-image id="readBook" src="#videoFrame" position="0 1.575 -0.64715" width="3.5" rotation="" scale="2 2 2" material="" geometry="width: 0.47; height: 0.29"></a-image> -->
<a-entity id="stir" position="-1.208 2.217 -0.348" rotation="0 0 0" scale="0.5 0.5 0.5" gltf-model=""
animation__rotation="property: rotation; to: 0 360 0; loop: true; dur: 10000; easing: linear;"></a-entity>
</a-scene>
<script src="./assets/js/app.js"></script>
</body>
</html>