Update index.html
Browse files- index.html +2 -3
index.html
CHANGED
|
@@ -53,8 +53,7 @@
|
|
| 53 |
<a-entity id="camera" camera look-controls kinematic-body></a-entity>
|
| 54 |
<a-entity id="zoomIn" class="button" position="-2.5 0 0" rotation="0 0 180" onclick="zoomIn()">+</a-entity>
|
| 55 |
<a-entity id="zoomOut" class="button" position="2.5 0 0" onclick="zoomOut()">-</a-entity>
|
| 56 |
-
</a-entity
|
| 57 |
-
<!-- Define the script to update the video texture -->
|
| 58 |
<script>
|
| 59 |
const video = document.querySelector('#video');
|
| 60 |
const canvas = document.querySelector('#videoTextureCanvas');
|
|
@@ -107,4 +106,4 @@
|
|
| 107 |
</script>
|
| 108 |
</a-scene>
|
| 109 |
</body>
|
| 110 |
-
</html>
|
|
|
|
| 53 |
<a-entity id="camera" camera look-controls kinematic-body></a-entity>
|
| 54 |
<a-entity id="zoomIn" class="button" position="-2.5 0 0" rotation="0 0 180" onclick="zoomIn()">+</a-entity>
|
| 55 |
<a-entity id="zoomOut" class="button" position="2.5 0 0" onclick="zoomOut()">-</a-entity>
|
| 56 |
+
</a-entity><!-- Define the script to update the video texture -->
|
|
|
|
| 57 |
<script>
|
| 58 |
const video = document.querySelector('#video');
|
| 59 |
const canvas = document.querySelector('#videoTextureCanvas');
|
|
|
|
| 106 |
</script>
|
| 107 |
</a-scene>
|
| 108 |
</body>
|
| 109 |
+
</html>
|