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
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
Are you looking for the HTML to make an image link to a video? HTML 4 or HTML 5?
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
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.
<a href="yourvideo.swf">Play My Video</a>
Looks like this:
Play My Video
and is clickable to play your video.
ASKER
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
Add
target="videoDestination"
to the anchor to ensure that it displays in the correct area
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.