浏览代码

Merge pull request #19750 from munrocket/patch-1

Examples: iOS webcam fix
Mr.doob 5 年之前
父节点
当前提交
c63293dec2
共有 1 个文件被更改,包括 1 次插入1 次删除
  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">