Index: video.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/video/video.module,v
retrieving revision 1.14
diff -u -r1.14 video.module
--- video.module	13 Sep 2005 12:12:23 -0000	1.14
+++ video.module	14 Sep 2005 21:27:52 -0000
@@ -806,28 +806,13 @@
  *   string of content to display
  */
 function theme_video_play_windowsmedia($node) {
-  // Windows Media's embeded player includes the controls in the height
-  $node->videoy += 68;
+  $node->videoy += 68; //Windows Media's embeded player includes the controls in the height
   $vidfile = _video_get_fileurl($node->vidfile) . basename($node->vidfile);
-  $output = '<OBJECT id="video1" width="'.$node->videox.'" height="'.$node->videoy.'"
-              classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" 
-              codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
-              standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">
-              <param name="fileName" value="'.$vidfile.'">
-              <param name="animationatStart" value="true">
-              <param name="transparentatStart" value="true">
-              <param name="autoStart" value="true">
-              <param name="showControls" value="true">
-              <param name="loop" value="true">
-              <EMBED type="application/x-mplayer2"
-                pluginspage="http://microsoft.com/windows/mediaplayer/en/download/"
-                id="mediaPlayer" name="mediaPlayer" displaysize="4" autosize="-1" 
-                showcontrols="true" showtracker="-1" 
-                showdisplay="0" showstatusbar="-1" videoborder3d="-1" width="'.$node->videox.'" height="'.$node->videoy.'"
-                src="'.$vidfile.'" autostart="true" loop="true">
-              </EMBED>
-             </OBJECT>';
-
+  $output = '<object id="wmediafile" data="'.$vidfile.'" width="'.$node->videox.'" height="'.$node->videoy.'" type="video/x-ms-asf">
+             <param name="src" value="'.$vidfile.'" />
+             <param name="autoStart" value="true" />
+             <p>You need Windows Media Player to watch this video.</p>
+             </object>';
   $output = _theme_video_format_play($output, t('http://windowsupdate.microsoft.com/'),
                                       t('Link to Windows Update'),
                                       t('Download latest Windows Media Player'));

