Private
Public Access
1
0

playsinline?

This commit is contained in:
Sander Roosendaal
2020-01-03 19:27:49 +01:00
parent dcd9354ea5
commit b054ac083f

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);