inline
This commit is contained in:
@@ -153,6 +153,8 @@ function copyText() {
|
|||||||
var tag = document.createElement('script');
|
var tag = document.createElement('script');
|
||||||
|
|
||||||
tag.src = "https://www.youtube.com/iframe_api";
|
tag.src = "https://www.youtube.com/iframe_api";
|
||||||
|
tag.removeAttribute('allowfullscreen');
|
||||||
|
tag.setAttribute('donotallowfullscreen','')
|
||||||
var firstScriptTag = document.getElementsByTagName('script')[0];
|
var firstScriptTag = document.getElementsByTagName('script')[0];
|
||||||
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
|
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
|
||||||
|
|
||||||
@@ -179,6 +181,8 @@ function copyText() {
|
|||||||
height: '315',
|
height: '315',
|
||||||
width: '560',
|
width: '560',
|
||||||
modestbranding: '1',
|
modestbranding: '1',
|
||||||
|
playsinline: '0',
|
||||||
|
allowfullscreen: '0',
|
||||||
videoId: '{{ video_id }}',
|
videoId: '{{ video_id }}',
|
||||||
events: {
|
events: {
|
||||||
'onReady': onPlayerReady,
|
'onReady': onPlayerReady,
|
||||||
|
|||||||
Reference in New Issue
Block a user