How to customize youtube embedded video?

My request: HOW to customize the play button and the background of youtube embedded video before playing it?

<iframe width="560" height="315" src="video URL" frameborder="0" allowfullscreen></iframe>

you cannot according to this link…

YouTube Embedded Players and Player Parameters

Do this with CSS. :winky:

coothead

I don’t think you can; but as a workaround you can just use your own image and play-button, and insert the iframe with JS when the image gets clicked:

This will of course not have the features of the iframe from the start (such as the share-button), but the good thing is that it only loads the iframe when it’s actually needed.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.