tudoroprea
05-20-2007, 06:39 AM
i want to open in a popup an embedded wmp which plays a video stream
it works perfect when using a fixed size
but i want to have also a 2X button for resizeing the popup window and also the video in it without refreshing the page (without rebuffering)
can anyone help?
the code i use for embedding wmp is:
<OBJECT id='mediaPlayer' width="240" height="180"
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="mms://84.247.52.252:8087/">
<param name="uiMode" value="none"/>
<param name='animationatStart' value='true'>
<param name='transparentatStart' value='true'>
<param name='autoStart' value="true">
<param name='showControls' value="false">
<param name='loop' value="false">
<EMBED type='application/x-mplayer2'
pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
bgcolor='darkblue' showcontrols="0" showtracker='0'
showdisplay='0' showstatusbar='0' videoborder3d='-1'
width="240" height="180"
uiMode=none
src="mms://84.247.52.252:8087/" autostart="true" designtimesp='5311' loop="false">
</EMBED>
</OBJECT>
it works perfect when using a fixed size
but i want to have also a 2X button for resizeing the popup window and also the video in it without refreshing the page (without rebuffering)
can anyone help?
the code i use for embedding wmp is:
<OBJECT id='mediaPlayer' width="240" height="180"
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="mms://84.247.52.252:8087/">
<param name="uiMode" value="none"/>
<param name='animationatStart' value='true'>
<param name='transparentatStart' value='true'>
<param name='autoStart' value="true">
<param name='showControls' value="false">
<param name='loop' value="false">
<EMBED type='application/x-mplayer2'
pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
bgcolor='darkblue' showcontrols="0" showtracker='0'
showdisplay='0' showstatusbar='0' videoborder3d='-1'
width="240" height="180"
uiMode=none
src="mms://84.247.52.252:8087/" autostart="true" designtimesp='5311' loop="false">
</EMBED>
</OBJECT>