diff --git a/s/webrtc-capturestill/capture.js b/s/webrtc-capturestill/capture.js index 7cf53c8..def55cb 100644 --- a/s/webrtc-capturestill/capture.js +++ b/s/webrtc-capturestill/capture.js @@ -28,6 +28,7 @@ navigator.mediaDevices.getUserMedia({video: true, audio: false}) .then(function(stream) { video.srcObject = stream; + video.setAttribute("playsinline", true); video.play(); }) .catch(function(err) {