Vidéo - show when button is clicked

Hi everyone, Im working on my website and i’ve a block (50x50) with an image inside. When the block is clicked, a youtube video appears. when the (X) button is clicked an animation dissapears the video, but the video continue to play so there is the sound.

Some people have any solution ?

ps : Sorry for very bad inglish (i’m french ahah)