Linking To or Embedding a Video Clip

Almost everything you’ve learned so far in this chapter about linking to and embedding sound clips also applies to video clips. Video clips can be placed on a Web page as hyperlinks by using the <a> tag, or can be embedded by using the <embed> or <object> tag.

When you link to a video clip, you don’t need to provide any special arguments or settings in the <a> tag; the clip will simply download to the visitor’s computer and play in his or her default player for that file type. For example:

<a href="seeds.mov">Click here to see a video clip about seed planting
(MPEG format, 2MB)</a>

When you embed a video clip, you can use the same arguments in the <embed> tag as you do with a sound clip. The main difference is ...

Get HTML and XHTML Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.