Private
Public Access
1
0

Merge branch 'release/v10.82'

This commit is contained in:
Sander Roosendaal
2020-01-03 19:36:07 +01:00

View File

@@ -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);
@@ -181,8 +182,7 @@ function copyText() {
height: '315',
width: '560',
modestbranding: '1',
playsinline: '1',
allowfullscreen: '0',
playerVars: {'playsinline':'1'},
videoId: '{{ video_id }}',
events: {
'onReady': onPlayerReady,