On WMP there isn’t any implemented solution to show “first frame” (or any still you want) when video hasn’t started… but we can manage with this simple codes:
Wherever you want your Media Player just put this
<iframe name=“video” src=“still.html” height=230 width=280 scrolling=“no” frameborder=“0″></iframe>
On a new file named still.html:
<a href=“player.html”><img src=“./still.bmp” height=230 width=280 border=“0″ /></a>
Note that you must have still.bmp or whatever image you want…
And finally player.html builds Media Player as follows:
<object classid=”clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95″ codebase=”http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab” width=”243″ height=”212″ border=”0″ align=”baseline”>
<param name=”FileName” value=”mms://bombur.esade.edu/md/casos/FerrofetCatalana/09.wmv”>
<param name=”AutoStart” value=”true”>
<param name=”ShowControls” value=”true”>
<param name=”ShowPositionControls” value=”false”>
<param name=”ShowAudioControls” value=”true”>
<param name=”ShowTracker” value=”true”>
<param name=”ShowStatusBar” value=”false”>
<param name=”AutoSize” value=”true”>
<param name=”AutoRewind” value=”false”>
<param name=”AllowScan” value=”true”>
<param name=”EnableContextMenu” value=”true”>
<param name=”bgcolor” value=”white”>
<embed width=“280″ height=“230″ border=”0″ align=”baseline” src=“video.wmv” autostart=”true” showcontrols=”true” controller=”true” showpositioncontrols=”false” showaudiocontrols=”true” showtracker=”true” showstatusbar=”false” autosize=”true” scale=”aspect” autorewind=”false” allowscan=”true” enablecontextmenu=”true” pluginspage=”http://www.microsoft.com/Windows/MediaPlayer/download/”> </embed>
</object>
Good luck!
