Przeglądaj źródła

Examples: iOS webcam fix

munrocket 5 lat temu
rodzic
commit
446c731f9c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      examples/webgl_materials_video_webcam.html

+ 1 - 1
examples/webgl_materials_video_webcam.html

@@ -12,7 +12,7 @@
 			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - video webcam input
 		</div>
 
-		<video id="video" autoplay style="display:none"></video>
+		<video id="video" style="display:none" autoplay playsinline></video>
 
 		<script type="module">