summaryrefslogtreecommitdiff
path: root/localwebsite/htdocs
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-08-22 00:15:10 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-08-22 00:15:10 +0300
commit46d1e0e31f7e6e23029f2a7cc83056321e8504c7 (patch)
treede41fae7dceb591cfae4788b27836e572582b127 /localwebsite/htdocs
parent4f6adc157492f631a587d93773e1c9f40a852937 (diff)
lws: cams: fix autoplay for safari on ios
Diffstat (limited to 'localwebsite/htdocs')
-rw-r--r--localwebsite/htdocs/assets/app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/localwebsite/htdocs/assets/app.js b/localwebsite/htdocs/assets/app.js
index ff2295d..9574c8c 100644
--- a/localwebsite/htdocs/assets/app.js
+++ b/localwebsite/htdocs/assets/app.js
@@ -120,6 +120,8 @@ window.Cameras = {
video.autoplay = true;
video.muted = true;
+ video.playsInline = true;
+ video.autoplay = true;
if (window.browserInfo.ios)
video.setAttribute('controls', 'controls');