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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.