Link to home
Start Free TrialLog in
Avatar of netdeveloper1
netdeveloper1

asked on

Click on image to display video

I have a html page with placeholder to play video.
I have six different images below it. If i click on one of the images a different video should be shown in my placeholder. Any help appreciated
thanks
Avatar of Nancy McCullough
Nancy McCullough
Flag of Canada image

Are you looking for the HTML to make an image link to a video? HTML 4 or HTML 5?
Avatar of netdeveloper1
netdeveloper1

ASKER

HTML4
I have six different images and click the image show show the video in one predefined  region . SO if the video 4 is playing and if click on image5  then video4 should be replaced with video 5
http://www.w3schools.com/html/html_videos.asp

<a href="yourvideo.swf">Play My Video</a>

Looks like this:

Play My Video

and is clickable to play your video.
I wish it was that easy. As i mentioned in pervious messages. I need to swao videos in my place holder depending on what link is clicked
Another method would be to add the video as an object. This would allow you to define the placement and other attributes to the vid.

Add

target="videoDestination"

to the anchor to ensure that it displays in the correct area
ASKER CERTIFIED SOLUTION
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial