Pass variable from one html to another to change video source on page 2 from image selected on page 1

Pass variable from one html to another to change video source on page 2 from image selected on page 1

I have 2 html pages. On the first page, there are several images, when the user clicks on an image, the second html page opens and shows a video.
Page 1: <a href="video.html"><img src="img/scene1.jpg" alt="" title="" /></a>
Page 2: <embed src="vid/scene1.avi"autostart="true" height="600" width="900"  />

My images are named scene1, scene2, scene3...
what I need to do is change the code on page 2 to show the video that goes with the image, so the video name "scene1" needs to be dynamically
changed to the name of the image users clicked on page 1.

I am new to all this and cannot figure out a way to do this.

Thanks in advance for any help.