Topic: Play video after click on image

Hi,
In my app i have to play video once click image.Video should be run at the place of image only.I can do this by using java script
like hide image and set src attribute with iframe tag.But after completion of viep have to display image only.

Can anybody help