As you have seen, web pages are ASCII text pages. They have HTML code embedded in them, which is used by the browser to format the pages onscreen. Because they are text only, images and other forms of media cannot be stored in the pages. Instead, there is a reference in the page to the image, and when the browser gets to that point in the page, it loads the image and places it in the correct spot on the page.
If web pages could only display text and images, they would be very static, and would be not much more than books on screen. But web pages can be much more than that. By making HTML links to an external file, and by having a plug-in (add-in program) for web browsers that can read and play the file, web pages can be used to display many forms of media, some of which can be interactive. Interactive, in this case means that the media responds to user input and does something different. Media simply means a type of information that can be 'read' by the user. Media types that can be used in web pages include
Embedding media into web pages requires 2 steps, making or getting the media, and adding the correct HTML code. These will be covered in depth in the next unit.
Viewing the media with your browser sometimes requires installing a plug-in for the browser, or a codec on you computer. Plug-ins are made by the group or company that developed the particular media format. The installation process is usually handled by the browser. Plug-ins are required by the browser to play certain types of media that are not supported directly by the browser.
Codec (Compressor-decompressor) is an add-in to the operating system that can handle media that has been compressed. Most all digital video, for example, is compressed. Otherwise the file sizes would be too big. It has to be decompressed on the fly when it is played back. The codec is required to create the media, and to play the media. The same media type (avi video for example) can have many different forms of compression, or codecs. Different types of compression have different effects on the media. Most types of compression are lossy (quality is lost). Some are lossless. Two forms of video compression were used in this unit. Divx was used with the live video demonstrations. This is a lossy compression based on MPEG (Motion Picture Experts Group) compression. Videos of software demos were compressed using the lossless TSCC codec. Both of these are codecs that work in Microsoft AVI (Audio-Video Interleave) video format
It is important to distinguish interactivity from merely activity on web pages. Media that plays while you passively watch is activity. Animated gifs, video clips, and flash that plays automatically, or can only be started and stopped by the user should be considered active media. To be truly interactive requires engaging the user in thinking and doing, which requires the user to do something more substantial than clicking a button and viewing a video clip or flash. It can take several forms, including
The purpose of this activity is to develop understanding of the types of media that may be used with the web
Complete each of the following
There is no self test for this lesson.