Skip to content
Snippets Groups Projects
Commit 4370ff4c authored by Steinwender, Tamara's avatar Steinwender, Tamara
Browse files

Try a fix for IOS QR code reader problem

parent 14f9f986
No related branches found
No related tags found
No related merge requests found
Pipeline #13911 passed
......@@ -93,6 +93,9 @@ async function createVideoElement(deviceId) {
if (stream !== null) {
let video = document.createElement("video");
video.srcObject = stream;
video.setAttribute('autoplay', '');
video.setAttribute('muted', '');
video.setAttribute('playsinline', '');
return video;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment