Przeglądaj źródła

feat(core): update

gemercheung 3 lat temu
rodzic
commit
136868359e
1 zmienionych plików z 17 dodań i 13 usunięć
  1. 17 13
      index.html

+ 17 - 13
index.html

@@ -27,19 +27,23 @@
       </style>
     </head>
     <body>
-      <video id="testVideoFeed" crossorigin="anonymous" playsinline autoplay muted  style="
-      position: fixed;
-      width: 600px;
-      height: 600px;
-      z-index: 10000;
-      top: 0;
-      left: 0;
-    "></video>
+      <video
+        id="testVideoFeed"
+        crossorigin="anonymous"
+        playsinline
+        autoplay
+        muted
+        style="
+          position: fixed;
+          width: 600px;
+          height: 600px;
+          z-index: 10000;
+          top: 0;
+          left: 0;
+        "
+      ></video>
       <canvas id="renderCanvas"></canvas>
 
-     
-     
-
       <div id="videoTextureBox">
         <video
           id="houseTexture0"
@@ -53,7 +57,7 @@
       </div>
 
       <!-- Babylon.js -->
-      <script  src="./libs/jquery-1.10.2.min.js"></script>
+      <script src="./libs/jquery-1.10.2.min.js"></script>
       <script src="./libs/dat.gui.min.js"></script>
       <script src="./libs/ammo.js"></script>
       <script src="./libs/cannon.js"></script>
@@ -138,6 +142,6 @@
       <script src="./worker/index.js" type="module"></script>
       <script type="module" src="./webrtc/srs.js"></script>
     </body>
-    <script src="https://web.sdk.qcloud.com/trtc/webrtc/demo/latest/dist/trtc.js"></script>
+    <!-- <script src="https://web.sdk.qcloud.com/trtc/webrtc/demo/latest/dist/trtc.js"></script> -->
   </html>
 </html>