Quick example of the code I'm using at the moment to create my YouTube iframe:
player = new YT.Player('[PLAYER ID]', {
height: '300',
width: '480',
videoId: '[VIDEO ID]',
playerVars: { 'controls': 0, 'showinfo': 0 },
});
It's all working great so far, it's loading the video fine without controls or the info strip and I'm 'manually' playing the video using javascript.
The problem is that there's now no need for the big red 'play' button that is momentarily displayed as the video's starting.
Is there any way I can get rid of this? I've looked through the documentation and can't find a suitable parameter that would allow me to hide it.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…