Multimedia Site Sample

See Also      

This sample displays several different multimedia files from a single Web page. A background sound, an embedded video in HTML, an embedded video using the Microsoft® ActiveMovie™ control, and links to different multimedia files are used to enhance this page.

Behind the Scenes

This example has only one file:

The first two multimedia enhancements in this file are from HTML tags. The first one is used to set the background sound that is played when this page is loaded in the browser:

<BGSOUND SRC=Utopia.wav>

The second enhancement plays an AVI file continuously in the page using a Microsoft® Internet Explorer enhanced version of the <IMG> tag:

<IMG DYNSRC="Earthsml.avi" LOOP=Infinite>

The next multimedia enhancement in this file uses the Microsoft ActiveMovie control, directly embedded in the page so that a separate program does not need to run.

The following settings load the multimedia file, Clouds.avi, into the player and set properties of the object to control how the object is displayed and run:

<OBJECT ID="ActiveMovie1" WIDTH=267 HEIGHT=155
     CLASSID="CLSID:05589FA1-C356-11CE-BF01-00AA0055595A">
        <PARAM NAME="_ExtentX" VALUE="7038">
        <PARAM NAME="_ExtentY" VALUE="4101">
        <PARAM NAME="ShowDisplay" VALUE="0">
        <PARAM NAME="AllowHideDisplay" VALUE="0">
        <PARAM NAME="AllowHideControls" VALUE="0">
        <PARAM NAME="AutoStart" VALUE="0">
        <PARAM NAME="AutoRewind" VALUE="1">
        <PARAM NAME="Appearance" VALUE="0">
        <PARAM NAME="FileName" VALUE="Clouds.avi">
        <PARAM NAME="AllowChangeDisplayMode" VALUE="0">
        <PARAM NAME="DisplayForeColor" VALUE="0">
</OBJECT>