Webpage: Default static image on unplayed windows media video?

http://www.theravive.com/forcounsellors/counseling_directory.htm

please visit this page using Internet Explorer.  How do I get a default picture to show up on the blank screen?

my code:
    document.write('<object id="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" border="0" standby="Loading Windows Media Player components..." type="application/x-oleobject" width="509" height="375"><param name="fileName" value="http://www.theravive.com/temp/theravive-second.wmv"><param name="ShowStatusBar" value="1" /><param name="animationatStart" value="1" /><param name="transparentatStart" value="0" /><param name="ShowAudioControls" value="1" /><param name="AllowScan" value="1" /><param name="ShowPositionControls" value="1" /><param name="showControls" value="1" /><param name="autoStart" value="0" /><param name="Volume" value="-0"> </object>')
arthurh88Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

xberryCommented:
there is no fix really, since outlook is a PITA, see my findings here:
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/HTML/Q__23920399.html
0
xberryCommented:
sorry, misplaced my text in a hurry, which was designed for a topic one row below, but not yours - - -
0
arthurh88Author Commented:
no biggie, i figured it out anyway :)
0
arthurh88Author Commented:
The answer I used:

<SCRIPT type="text/javascript">
      if(-1 != navigator.userAgent.indexOf("MSIE"))
      {
        document.write('<div id="video_29">')
         
             
             document.write ('<a style="position: relative; left: 0px; top: 0px; display: block; width: 509px; height: 374px; background: url(http://www.theravive.com/forcounsellors/images/new-clients-video.jpg) no-repeat center center;" href="PATH" onclick="document.getElementById(\'video_29\').innerHTML=\'<object id=&quot;MediaPlayer1&quot; CLASSID=&quot;CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95&quot; codebase=&quot;http:\/\/activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"; border=&quot;0&quot; standby=&quot;Loading Windows Media Player components...&quot; type=&quot;application/x-oleobject&quot; width=&quot;509&quot; height=&quot;374&quot;><param name=&quot;fileName&quot; value=&quot;http:\/\/www.theravive.com/temp/theravive-second.wmv";><param name=&quot;ShowStatusBar&quot; value=&quot;1&quot; /><param name=&quot;animationatStart&quot; value=&quot;1&quot; /><param name=&quot;transparentatStart&quot; value=&quot;0&quot; /><param name=&quot;ShowAudioControls&quot; value=&quot;1&quot; /><param name=&quot;AllowScan&quot; value=&quot;1&quot; /><param name=&quot;ShowPositionControls&quot; value=&quot;1&quot; /><param name=&quot;showControls&quot; value=&quot;1&quot; /><param name=&quot;autoStart&quot; value=&quot;1&quot; /><param name=&quot;Volume&quot; value=&quot;-0&quot;> </object>\';return false;"></a>')
             
              document.write('</div>')
             
      }
      else if(-1 != navigator.userAgent.indexOf("Firefox"))
      {
         document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="480" height="360"> <param name="flashvars" value="file=http://www.theravive.com/temp/theravive-second.flv" /> <param name="movie" value="http://www.theravive.com/temp/mediaplayer.swf" /> <embed src="http://www.theravive.com/temp/mediaplayer.swf" width="480" height="360" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="file=http://www.theravive.com/temp/theravive-second.flv" /></object>')
      }        
    </SCRIPT>
 

                                   
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.