mirror of
https://github.com/jech/galene.git
synced 2024-11-10 02:35:58 +01:00
Use playsInline instead of playsinline.
Apparently the field has a different name than the HTML attribute.
This commit is contained in:
parent
29b4734bc4
commit
6bb1ed7ab7
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue