Trying to be compliant with youtube

This commit is contained in:
Kasper Rynning-Tønnesen
2019-11-05 14:44:08 +01:00
parent 938dac703e
commit 72acad3547
3 changed files with 13 additions and 13 deletions

View File

@@ -1226,7 +1226,6 @@ var Player = {
Player.player = new YT.Player("player", {
videoId: video_id,
playerVars: {
rel: "0",
autoplay: 1,
wmode: "transparent",
controls: "0",
@@ -1234,7 +1233,8 @@ var Player = {
iv_load_policy: "3",
theme: "light",
color: "white",
showinfo: 0
modestbranding: "0",
playsinline: "1"
},
events: {
onReady: Player.onPlayerReady,