<html><!-- #BeginTemplate "/Templates/2002.dwt" --><!-- DW6 -->
<head>
<!-- #BeginEditable "doctitle" --> 
<title>WIT 2002 Adding Sound/Video Files</title>
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#003300" onLoad="MM_preloadImages('../../../img/2002logo-alt-over.gif')" leftmargin="0" topmargin="20" link="#0033CC" vlink="#009933" alink="#66CC66" background="../../../img/background2002.jpg">
<font face="Arial, Helvetica, sans-serif"> </font> <font face="Arial, Helvetica, sans-serif"> 
<table width="100%" border="0" cellspacing="0" cellpadding="10">
  <tr>
    <td rowspan="3" width="163" valign="top" align="left"> 
      <p><a href="../../index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Logo','','../../../img/2002logo-alt-over.gif',1)"><img name="Logo" border="0" src="../../../img/2002logo-alt.gif" width="150" height="150"></a></p>
      <table width="100%" border="0" cellspacing="10" cellpadding="0">
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002home.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value="."><param name="BGCOLOR" value="#006600">
              
              <embed src="/Templates/2002home.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002about.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002about.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002homerooms.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002homerooms.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002curriculum.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002curriculum.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002software.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002software.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002mentor.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002mentor.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002projects.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002projects.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002feedback.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002feedback.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002search.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002search.swf" base=""  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
      </table>
      <div align="center"></div>
          </td>
    <td valign="top" align="left" colspan="2" height="47"> 
      <h1><!-- #BeginEditable "title" --> <font color="#003300">Adding Sound/Video 
        Files </font> <!-- #EndEditable --></h1>
    </td>
  </tr>
  <tr> 
    <td colspan="2" valign="top" align="left"> <!-- #BeginEditable "body" -->
      <!--msnavigation-->
      <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
          <td> 
            <div align="center"> 
              <center>
                <table width="600" border="2">
                  <tr> 
                    <td width="10%" height="45"><img src="_borders/sphere.gif" width="73" height="73"></td>
                    <td width="80%" height="45" valign="middle" align="center"> 
                      <h2 align="center"><img src="_derived/adding.htm_cmp_wit2002110_bnr.gif" width="400" height="42" border="0" alt="Adding Sound/Video Files"> 
                      </h2>
                    </td>
                    <td width="10%" height="45"><img src="_borders/sphere.gif" width="73" height="73"></td>
                </table>
              </center>
            </div>
          </td>
        </tr>
        <!--msnavigation-->
      </table>
      <!--msnavigation-->
      <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
          <!--msnavigation-->
          <td valign="top"> 
            <table width="600" border="1" align="center" height="2053">
              <tr> 
                <td valign="top" height="2047"> 
                  <table width="600" border="0" cellspacing="10" cellpadding="1" align="center" height="1986">
                    <tr> 
                      <td height="1974" valign="top"> 
                        <h1 align="left"><a name="Top"></a>Topics Covered on This 
                          Page</h1>
                        <ol>
                          <li> 
                            <p align="left"><font color="#990033"><a href="#Introduction">Introduction</a></font>
                          </li>
                          <li> 
                            <p align="left"><font color="#990033"><a href="#Demonstration">Demonstration</a></font>
                          </li>
                          <li> 
                            <p align="left"><font color="#990033"><a href="#Task">Task</a></font>
                          </li>
                          <li> 
                            <p align="left"><font color="#990033"><a href="#Practice">Practice</a></font>
                          </li>
                          <li> 
                            <p align="left"><font color="#990033"><a href="resources.htm">CLICK 
                              HERE TO GO TO THE NEXT LESSON:&nbsp; 5 Resources</a></font> 
                          </li>
                        </ol>
                        <h1 align="left"><img border="0" src="images/GrabIt12D1.gif" width="563" height="14"></h1>
                        <h3 align="left"><a name="Introduction"></a>Introduction</h3>
                        <p align="left">You can add sound and video to your web 
                          pages by<b><i> creating a link to them</i></b>, or by 
                          <b><i>embedding them as a visible or invisible sound/video 
                          console</i></b>. Linking to your sound and video files, 
                          is the easiest way to add sound and video to your web 
                          pages because it requires that you create a link which 
                          points to the sound/video file.&nbsp; Embedding a sound/video 
                          files is a little more difficult for it requires that 
                          you insert the &lt;embed&gt; tags into the body of the 
                          actual HTML code. </p>
                        <p align="left"><b><font size="3">Here is What You Need 
                          to Add Sound/Video Files to your Web Page</font></b></p>
                        <ol>
                          <li> 
                            <p align="left">A Sound or Video File
                          </li>
                          <li> 
                            <p align="left">The &lt;a href&gt; &lt;/a&gt; HTML 
                              Tags for Linking Sound/Video Files - or - The &lt;embed&gt; 
                              &lt;/embed&gt; HTML Tags for Embedding Sound/Video 
                              Files.
                          </li>
                        </ol>
                        <p align="center"><a href="#Top"><font color="#990033">Return 
                          to Top</font></a></p>
                        <p align="left"><img border="0" src="images/GrabIt12D1.gif" width="563" height="14"> 
                        <h3 align="left"><a name="Demonstration"></a>Demonstration</h3>
                        <p align="left"><b><font size="4">Creating a Link to a 
                          Sound/Video File</font></b><u><br>
                          </u><b>Step 1:</b>&nbsp;&nbsp;<br>
                          Download the following sound file: <a href="sound_files/go-nogo.wav">go-nogo.wav</a> 
                          (Right-click or control-click on the link, select &quot;Save 
                          Target as...&quot; or &quot;Save Link as...)</p>
                        <p align="left"><b>Step 2:</b>&nbsp;&nbsp;<br>
                          Open a new HTML File and name it &quot;<b>gonogo.htm</b>&quot;</p>
                        <p align="left"><b>Step 3:</b>&nbsp;&nbsp;<br>
                          Type go-nogo.wav then highlight the text and create 
                          a hyperlink to&nbsp; the go-nogo.wav file.</p>
                        <p align="left"><b>Step 4:</b>&nbsp;&nbsp;<br>
                          Save the file, Preview it, then test the link.</p>
                        <p align="left"><b><font size="4">Embedding a Sound/Video 
                          File with a visible Sound Console</font></b><u><br>
                          </u><b>Step 5:</b>&nbsp;&nbsp;<br>
                          Go back to the go-nogo.htm file.</p>
                        <p align="left"><b>Step 6:</b>&nbsp;&nbsp;<br>
                          Cut and paste the following HTML tag into the body of 
                          the actual HTML code of the web page.</p>
                        <blockquote> 
                          <p align="left"> &lt;embed src=&quot;go-nogo.wav&quot; 
                            width=&quot;128&quot; height=&quot;20&quot; autostart=&quot;false&quot; 
                            loop=&quot;false&quot; hidden=&quot;false&quot;&gt; 
                            &lt;/embed&gt;</p>
                        </blockquote>
                        <p align="left"><b>Step 7:</b>&nbsp;&nbsp;<br>
                          Save the file, Preview it, then Click the play button 
                          on the Sound Console.</p>
                        <p align="left"><b><font size="4">Embedding a Sound/Video 
                          File with an invisible Sound Console</font></b><u><br>
                          </u><b>Step 8:</b>&nbsp;&nbsp;<br>
                          Go back to the go-nogo.htm file.</p>
                        <p align="left"><b>Step 9:</b>&nbsp;&nbsp;<br>
                          Go the the HTML Code View.</p>
                        <p align="left"><b>Step 10:</b> &nbsp;<br>
                          Change the autostart and hidden attributes of the &lt;embed&gt; 
                          tag to &quot;<b>true</b>&quot;.</p>
                        <p align="left"><b>Step 11:</b> &nbsp;<br>
                          Save the file, Preview it, then Click the play button 
                          on the Sound Console.</p>
                        <p align="center"><a href="#Top"><font color="#990033">Return 
                          to Top</font></a></p>
                        <p align="left"><img border="0" src="images/GrabIt12D1.gif" width="563" height="14"> 
                        <h3 align="left"> <a name="Task"></a> Task</h3>
                        <p align="left">Download the following sound and video 
                          files and create a 4 row by 2 column table. Label one 
                          column sound files and the other video files.&nbsp; 
                          Create a link to each of the sound and video files. 
                          <a href="sound_files/2001.mid" target="_blank">2001.mid</a>, 
                          <a href="sound_files/energetic.mid" target="_blank">energetic.mid</a>, 
                          <a href="movies/clock.mpg" target="_blank">clock.mpg</a>, 
                          <a href="movies/room.mpg" target="_blank">room.mpg</a>. 
                        <p align="left">Below the table type &quot;Embedded Sound 
                          and Video Consoles&quot;&nbsp; Customize the following 
                          embed tag and insert them one at a time below the &quot;Embedded 
                          Sound and Video Consoles&quot; title. Embed the 2001.mid 
                          and clock.mpg files.&nbsp; (Note: the standard width 
                          and height of the video is width=400 and height=320.) 
                        <blockquote> 
                          <p align="left"><b> &lt;embed src=&quot;filename&quot; 
                            width=&quot;128&quot; height=&quot;20&quot; autostart=&quot;false&quot; 
                            loop=&quot;false&quot; hidden=&quot;false&quot;&gt; 
                            &lt;/embed&gt;</b></p>
                        </blockquote>
                        <p align="center"><a href="#Top"><font color="#990033">Return 
                          to Top</font></a></p>
                        <p align="left"><img border="0" src="images/GrabIt12D1.gif" width="563" height="14"> 
                        </p>
                        <h3 align="left"><a name="Practice"></a>Practice &nbsp;</h3>
                        <p align="left">Create a new file and name it &quot;<b>animal 
                          sounds.htm</b>&quot;.&nbsp; Find and insert a picture 
                          of a dog, cat, pig, and tiger.&nbsp; Link the picture 
                          of the dog and cat to their respective sound files.&nbsp; 
                          Create a visible sound console underneath the pictures 
                          for the pig and tiger. [Here are the animal sounds. 
                          (<a href="sound_files/animal/dog-1.au">dog</a>, <a href="sound_files/animal/cat-1.au">cat</a>, 
                          <a href="sound_files/animal/pig.au">pig</a>, <a href="sound_files/animal/tiger.au">tiger</a>)]</p>
                      </td>
                    </tr>
                  </table>
                  <p align="center"><font color="#990033"><a href="resources.htm">CLICK 
                    HERE TO GO TO THE NEXT LESSON:&nbsp; 5 Resources</a></font> 
                  </p>
            </table>
            <p align="left">&nbsp;</p>
            <!--msnavigation-->
          </td>
        </tr>
        <!--msnavigation-->
      </table>
      <!--msnavigation-->
      <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
          <td> 
            <div align="center"> 
              <center>
                <table border="0" width="600" cellspacing="1">
                  <tr> 
                    <td width="119" valign="middle" align="center"><a href="why_include.htm"><img border="0" src="images/1_why.gif" width="91" height="50"></a></td>
                    <td width="119" valign="middle" align="center"><a href="formats.htm"><img border="0" src="images/2_formats.gif" width="83" height="50"></a></td>
                    <td width="120" valign="middle" align="center"><a href="downloading.htm"><img border="0" src="images/3_download.gif" width="85" height="51"></a></td>
                    <td width="120" valign="middle" align="center"><a href="adding.htm"><img border="0" src="images/4_add.gif" width="83" height="50"></a></td>
                    <td width="120" valign="middle" align="center"><a href="resources.htm"><img border="0" src="images/5_resources.gif" width="83" height="50"></a></td>
                  </tr>
                </table>
              </center>
            </div>
            <p align="center"><b>[<a href="index2.htm"><font color="#990033">Home</font></a>]&nbsp; 
              [<a href="teaching_guide.htm"><font color="#990033">Teaching Guide</font></a>]</b></p>
          </td>
        </tr>
        <!--msnavigation-->
      </table>
      <!-- #EndEditable --> </td>
  </tr>
  <tr> 
    <td colspan="2" valign="top" align="left"> 
      <table width="100%" border="3" cellspacing="3" cellpadding="5" bordercolor="#003300" align="left">
        <tr> 
          <td><h6 align="left"> <font color="#006600">The contents of the Web 
              Institute for Teachers website are Copyright 1999-2002, University 
              of Chicago. No one may print, copy, or otherwise reproduce these 
              materials without the express written permission of the Director 
              of the Web Institute for Teachers. </font></h6>
            <h6 align="left"><font color="#006600"> The current time is 
              <!--#config timefmt="%I:%M %p on %A %b %d, %Y"-->
              <!--#echo var="DATE_LOCAL"-->
              . This page was last modified on 
              <!--#config timefmt="%b %d, %Y" -->
              <!--#echo var="LAST_MODIFIED"-->
              . It has had 
              <!--#exec cgi="/cgi-bin/nmi/textcounter/witcounter.pl"-->
              . </font></h6>
            <h6><font color="#006600">Please use the <a href="/2002/feedback/index.htm">Feedback</a> 
              button to tell us how you like this page.</font></h6>

			  </td>
        </tr>
      </table>
      <h6>&nbsp;</h6>
    </td>
  </tr>
</table>
</font>
</body>
<!-- #EndTemplate --></html>
