From 6bb1ed7ab7a17d968cf15a3016b00d4526c6895c Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Tue, 25 Jan 2022 01:28:18 +0100 Subject: [PATCH] Use playsInline instead of playsinline. Apparently the field has a different name than the HTML attribute. --- static/galene.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/static/galene.js b/static/galene.js index 51e4b8c..6cea502 100644 --- a/static/galene.js +++ b/static/galene.js @@ -1613,8 +1613,7 @@ async function setMedia(c, isUp, mirror, video) { media.classList.add('media'); media.autoplay = true; - /** @ts-ignore */ - media.playsinline = true; + media.playsInline = true; media.id = 'media-' + c.localId; div.appendChild(media); addCustomControls(media, div, c, !!video);