From b054ac083f0a009aeb786aa0ddace7fc2588afa9 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Fri, 3 Jan 2020 19:27:49 +0100 Subject: [PATCH] playsinline? --- rowers/templates/embedded_video_mini.html | 1 + 1 file changed, 1 insertion(+) diff --git a/rowers/templates/embedded_video_mini.html b/rowers/templates/embedded_video_mini.html index 7eaae2ad..f3a4f22c 100644 --- a/rowers/templates/embedded_video_mini.html +++ b/rowers/templates/embedded_video_mini.html @@ -155,6 +155,7 @@ function copyText() { tag.src = "https://www.youtube.com/iframe_api"; tag.removeAttribute('allowfullscreen'); tag.setAttribute('donotallowfullscreen','') + tag.setAttribute('playsinline','1') var firstScriptTag = document.getElementsByTagName('script')[0]; firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);