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