View Full Version : embeded windows media problem (next - play)

11-18-2006, 07:14 PM
i have some sort of a problem...
i embeded windows media player into a html page.
i set the autostart to 0.

<OBJECT id='mediaPlayer' width="320" height="310"
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="http://www.site.com/list.asx">
<param name='animationatStart' value='1'>
<PARAM NAME="EnableContextMenu" VALUE="0">
<param name='transparentatStart' value='0'>
<param name='autoStart' value='0'>
<param name='ShowControls' value='1'>
<param name='ShowDisplay' value='0'>
<param name='ShowStatusBar' value='1'>
<param name='loop' value='0'>
<EMBED type='application/x-mplayer2'
pluginspage='http://microsoft.com/windows/mediaplayer/ en/download/'
id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='0'
EnableContextMenu='0' bgcolor='darkblue' showcontrols='1' showtracker='1'
showdisplay='0' showstatusbar='1' videoborder3d='0' width="320" height="310"
src="http://www.site.com/list.asx" autostart='0' designtimesp='5311' loop='0'>

this is the normal asx:

<REF HREF="http://www.site.com/file0.wmv"/>
<REF HREF="http://www.site.com/file1.wmv"/>
<REF HREF="http://www.site.com/file2.wmv"/>

the problem is that i need to click "next" & then "play" if i want to play the next video...
when i click "next" it go next & stop. so i need to click "play".
only if i set autostart to 1 when i click "next" it auto will play the next video.
BUT i don't want it to auto play when the page is first loaded... :confused:

how to make the media NOT to play when the page is first loaded & go to the next video by clicking only the next button (as it should be)?


11-18-2006, 07:40 PM
Try -1 to stop AutoStart

11-18-2006, 08:24 PM
Try -1 to stop AutoStart

-1 set autoStart to an "ON" postion...
i need it to be OFF :(