diff --git a/rowers/templates/embedded_video_mini.html b/rowers/templates/embedded_video_mini.html index 3ff231a7..ef286ecc 100644 --- a/rowers/templates/embedded_video_mini.html +++ b/rowers/templates/embedded_video_mini.html @@ -153,6 +153,8 @@ function copyText() { var tag = document.createElement('script'); tag.src = "https://www.youtube.com/iframe_api"; + tag.removeAttribute('allowfullscreen'); + tag.setAttribute('donotallowfullscreen','') var firstScriptTag = document.getElementsByTagName('script')[0]; firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); @@ -179,6 +181,8 @@ function copyText() { height: '315', width: '560', modestbranding: '1', + playsinline: '0', + allowfullscreen: '0', videoId: '{{ video_id }}', events: { 'onReady': onPlayerReady,