Integrating Multimedia: Sound, Video, and More






Summary

Well, today's lesson was certainly an eye- and earful! You learned that there are only two ways to include audio and video files in your web pages: linking to them and embedding them.

External multimedia files are files that are linked to directly rather than being embedded inside web pages. When you link to these files, your browser will launch the appropriate plug-in or external application for the file or, in some cases, ask you to save it. You also learned how external multimedia works, how to use sound and video files as external multimedia, and some hints for designing by using external multimedia files.

Much of this lesson focuses on examples of embedding multimedia files directly into the web browser. You can use the <embed> element, or a combination of <embed> and <object>.

Figure shows a summary of the tags you learned about in this lesson.

Tags for Inline Multimedia

Tag

Attribute

Use

<a>

href

Links to a sound or video file exactly as you link to any other type of file.

<embed>

 

Embeds objects into web pages.

<object>...<object>

 

Embeds objects into web pages.

<param>...</param>

 

Specifies parameters to be passed to the embedded object. Used in the object element.

<img>

dynsrc

Includes a sound or video file instead of an image. If the file cannot be found or played, the normal image (in src) is shown. Used by Internet Explorer only.

<bgsound>

 

Plays a background sound. Used by Internet Explorer only.




 Python   SQL   Java   php   Perl 
 game development   web development   internet   *nix   graphics   hardware 
 telecommunications   C++ 
 Flash   Active Directory   Windows