Click to See Complete Forum and Search --> : how to make my link work


lujo
03-13-2010, 11:00 PM
i know how to make a link but let say i want to put a movie or video and i want to click on video and be able to watch my video.
any help welcome,thnx

<a href="http://www.webdeveloper.com/">video!</a>

donatello
03-14-2010, 09:02 AM
Your best bet is to go to YouTube and find a video you want to embed... Youtube gives you the Embed code.

Then you can pick it apart and learn how it works. It's really simple.

Robbe
03-15-2010, 05:45 AM
If you don't want to use YouTube there are other methods to let your users watch your video.

Let's say you want to display yourvideo.avi

You can use the embed-tag:
<embed src="yourvideo.avi" />
(It isn't possible to make this W3C validated. To do so you have to use the object-tag)

The object-tag:
<object data="yourvideo.avi" type="video/avi" />

Or... you can use a hyperlink:
<a href="yourvideo.avi">Play a video file</a>
(with the use of hyperlink the user have to click the "Play a video file")
Hope this can help you :)