dabooj
07-16-2005, 05:11 PM
Hi,
I have created a website which has video embeded in it. It runs using windows media player and i believe it is set as running for version 9. It all works well but on computers with the old version of Windows Media Player the video does not run.
What are the different setups to run video with the different versions of Windows media player in html?
Is there a way of detecting the windows media player version and selecting the right codebases & plugins?
The code i am currently using is as follows:
<object id='mediaPlayer' name=mediaPlayer
style="BORDER-width:0px;BORDER-style: solid; BORDER-color: '#CCCCCC';"
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' height=260 width=260>
<param name='fileName' value="./4.wmv" />
<param name='animationatStart' value=1 />
<param name='transparentatStart' value=1 />
<param name='autoStart' value=0 />
<param name='showControls' value=1 />
<param name="ShowStatusBar" value=1>
<param name='loop' value=0 />
<EMBED type='application/x-mplayer2'
pluginspage='http://www.microsoft.com/windows/mediaplayer/en/default.asp'
id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
showcontrols="1" showtracker='-1'
showdisplay='0' showstatusbar=1
src="./4.wmv" autostart=0 designtimesp='5311' loop=0
style="BORDER-width: 1px; BORDER-style: solid; BORDER-color: '#CCCCCC';"
height=259 width=259 />
</object> ]
Please let me know if you have any ideas of how to embed video in html for both old & new windows media player versions.
Even the actual code for embedding video with the older version of windows media player would be useful.
Thank you,
Shuja.
I have created a website which has video embeded in it. It runs using windows media player and i believe it is set as running for version 9. It all works well but on computers with the old version of Windows Media Player the video does not run.
What are the different setups to run video with the different versions of Windows media player in html?
Is there a way of detecting the windows media player version and selecting the right codebases & plugins?
The code i am currently using is as follows:
<object id='mediaPlayer' name=mediaPlayer
style="BORDER-width:0px;BORDER-style: solid; BORDER-color: '#CCCCCC';"
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' height=260 width=260>
<param name='fileName' value="./4.wmv" />
<param name='animationatStart' value=1 />
<param name='transparentatStart' value=1 />
<param name='autoStart' value=0 />
<param name='showControls' value=1 />
<param name="ShowStatusBar" value=1>
<param name='loop' value=0 />
<EMBED type='application/x-mplayer2'
pluginspage='http://www.microsoft.com/windows/mediaplayer/en/default.asp'
id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
showcontrols="1" showtracker='-1'
showdisplay='0' showstatusbar=1
src="./4.wmv" autostart=0 designtimesp='5311' loop=0
style="BORDER-width: 1px; BORDER-style: solid; BORDER-color: '#CCCCCC';"
height=259 width=259 />
</object> ]
Please let me know if you have any ideas of how to embed video in html for both old & new windows media player versions.
Even the actual code for embedding video with the older version of windows media player would be useful.
Thank you,
Shuja.