Private
Public Access
1
0

Merge branch 'hotfix/v10.80' into develop

This commit is contained in:
Sander Roosendaal
2020-01-03 18:40:19 +01:00

View File

@@ -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,