Sound and Video

Linking to sound and video files in HTML is exactly the same as linking to any other file - its just the files that you link to that are different.

Because of the way browsers interpret files other than HTML, it is important that you use the standard extensions for any sound or video files you include in your document.

Other considerations are file sizes: Sound and video files take up a lot of space - so it is considerate to include the file size in Kilobytes somewhere near the link. This enables users with slow connexions to avoid hitting links to large files. (On a slow link, anything over 50K might be considered large.

File sizes can be reduced by using 'lower resolution'. For a sound file this means a lower sample rate (eg. 8KHz instead of 48), a lower word size (ie. 8 Bit instead of 16 or 24 Bit) and Mono instead of Stereo. The same applies for video, with the added option of reducing the number of frames per second and image depth.

Example Sound

Hawaii 5-0 : 451 : au

was generated by:

<a href="sounds/hawaii.au"><img src="images/SoundApp.gif" alt="Hawaii-5-0" align="MIDDLE" border =0>Hawaii 5-0 : 460K : au</a>

Movie Example

If it is possible, you should try to provide a couple of versions of your sound and video files (as in the above example). Many Mac users prefer QuickTime over MPEG - but the reverse is true of Windows/UNIX users. The idea is to try and make people feel welcome at your site.

Last Modified : July 1996
Enquiries : sunrise@srl.rmit.edu.au
URL : http://www.srl.rmit.edu.au/