<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>winmo/MediaCommand.cs</filename>
    </added>
    <added>
      <filename>winmo/www/js/media.js</filename>
    </added>
    <added>
      <filename>winmo/www/media/applause.wav</filename>
    </added>
    <added>
      <filename>winmo/www/media/bird.mp3</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -6,11 +6,11 @@ namespace PhoneGap {
 
     class CommandManager {
 
-        private Command[] commands = new Command[1];
+        private Command[] commands = new Command[2];
 
         public CommandManager() {
             commands[0] = new InitializationCommand();
-            //commands[1] = new MediaCommand();
+            commands[1] = new MediaCommand();
         }
 
         public String processInstruction(String instruction) {</diff>
      <filename>winmo/CommandManager.cs</filename>
    </modified>
    <modified>
      <diff>@@ -9,16 +9,20 @@
 		    document.getElementById('resultText').innerText = newText;
 		}
 		function playApplause() {
-		    media.playSound('data:///www/media/applause.wav');
+		    media.playSound('www/media/applause.wav');
 		    showLabel('CLAP CLAP CLAP!');
 		}
+		function playBirds() {
+		    media.playSound('www/media/bird.mp3');
+		}
 		&lt;/script&gt;
 	&lt;/head&gt;
 	&lt;body onload=&quot;device.init();&quot;&gt; &lt;!-- on load call init to make sure we bridge to device properly--&gt;
 	    &lt;p&gt;This is an HTML page.&lt;/p&gt;&lt;br /&gt;
 	    &lt;a href=&quot;javascript:showLabel(device.name);&quot;&gt;Show me the device model/name&lt;/a&gt;&lt;br /&gt;
 	    &lt;a href='javascript:showLabel(device.uuid);'&gt;Show me the device UUID&lt;/a&gt;&lt;br /&gt;
-	    &lt;!--&lt;a href=&quot;javascript:playApplause();&quot;&gt;Play expected audience response ;)&lt;/a&gt;&lt;br /&gt;--&gt;
+	    &lt;a href=&quot;javascript:playApplause();&quot;&gt;Play applause&lt;/a&gt;&lt;br /&gt;
+	    &lt;a href=&quot;javascript:playBirds();&quot;&gt;Play birds&lt;/a&gt;&lt;br /&gt;
 	    &lt;br /&gt;
 	    &lt;div id=&quot;resultLabel&quot; style=&quot;width:100%;height:20px;background-color:#dddddd;padding:2px;margin:5px;border:solid 1px black;&quot;&gt;&lt;p id=&quot;resultText&quot; style=&quot;margin:0 auto;&quot;&gt;&lt;/p&gt;&lt;/div&gt;
 	    &lt;br /&gt;</diff>
      <filename>winmo/www/index.html</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1d9ce3ef68947338f2cbe011f511056289326195</id>
    </parent>
  </parents>
  <author>
    <name>Fil Maj</name>
    <email>filip.maj@nitobi.com</email>
  </author>
  <url>http://github.com/sintaxi/phonegap/commit/17595eb2653d2f105c1c383297d57340208c7bbd</url>
  <id>17595eb2653d2f105c1c383297d57340208c7bbd</id>
  <committed-date>2009-08-21T11:38:49-07:00</committed-date>
  <authored-date>2009-08-21T11:38:49-07:00</authored-date>
  <message>Added basic media support (WAV and MP3 for now) and updated demo to reflect.</message>
  <tree>86fbd3cd63c8c1312965e08e558ba216ca1bdd64</tree>
  <committer>
    <name>Fil Maj</name>
    <email>filip.maj@nitobi.com</email>
  </committer>
</commit>
