Commit 6bb1ed7a authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Use playsInline instead of playsinline.

Apparently the field has a different name than the HTML attribute.
parent 29b4734b
...@@ -1613,8 +1613,7 @@ async function setMedia(c, isUp, mirror, video) { ...@@ -1613,8 +1613,7 @@ async function setMedia(c, isUp, mirror, video) {
media.classList.add('media'); media.classList.add('media');
media.autoplay = true; media.autoplay = true;
/** @ts-ignore */ media.playsInline = true;
media.playsinline = true;
media.id = 'media-' + c.localId; media.id = 'media-' + c.localId;
div.appendChild(media); div.appendChild(media);
addCustomControls(media, div, c, !!video); addCustomControls(media, div, c, !!video);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment