Use playsInline instead of playsinline.
Apparently the field has a different name than the HTML attribute.
This commit is contained in:
1 parent
29b4734bc4
commit
6bb1ed7ab7
1 file changed
+1
-2
+1
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user