Join the Webstudio community

Updated 4 weeks ago

Make entire Vimeo/YouTube box clickable, rather than just play button?

Wondering if this is currently possible. Right now the only way to trigger playing a YouTube/Vimeo video on your page is by clicking within the play button element, which is different from standard YouTube/Vimeo iFrames (they allow clicking anywhere within the iFrame to begin playback). Is there any way to adjust this behavior so that clicking anywhere within my element will start the video? I've tried messing with the size of the play button to no avail.
O
1 comment
Yes, you def can do this by making the button full size, setting it to flex and keeping icon same size in the middle
Add a reply
Sign up and join the conversation on Discord