Replace an image with a youtube video
问题 I have an image, and I would like to make the image link to an embedded YouTube video, such that if the user clicks on the image, it starts playing in the place where the picture used to be. Any thoughts on how I can accomplish this? Thank you, David 回答1: Place the embedded video in a div that is invisible: <div id="video" style="display: none;"> embedded video code here </div> Then give the img an id too: <img id="videopic" src="videopic.jpg" alt="Video Picture" /> Then, put a link round the