From d796b7da63afe0b5e24ee0b15af5dcb6b38755fb Mon Sep 17 00:00:00 2001 From: j Date: Mon, 25 Oct 2021 09:43:56 +0100 Subject: [PATCH] set playsinline via attributes --- app/static/js/ascroll.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/static/js/ascroll.js b/app/static/js/ascroll.js index 0da5dd2..da6bfbe 100644 --- a/app/static/js/ascroll.js +++ b/app/static/js/ascroll.js @@ -245,6 +245,7 @@ function renderAnnotations(config) { var video = document.createElement('video') video.classList.add('player') video.playsinline = true + video.attributes['playsinline'] = "" video.muted = true if (config.item) { setVideoSrc(video, `${baseURL}/${config.item}/480p.webm`)