Búsqueda en el Foro:
Buscar


« Ver tema anterior :: Ver siguiente tema »  
Autor Mensaje
Mensaje26-08-2009, 02:51 (UTC)    
Título del mensaje: duda con un reproductor

Buenas... tengo una preguntita xD... en mi web tengo una estacion de radio pero el problema es que en algunos lugares dnd la tengo la necesito que no se reprodusca sola si no cuando el usuario lo desee...

aca esta el codigo ¿que tendria que modificarle para que no se reprodusca sola?

Código:
<div style="text-align: center;"><object height="51" width="193" id="MediaPlayer" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject">
<param name="FileName" value="http://servicecomput.com:9018/" />
<param name="AudioStream" value="1" />
<param name="AutoSize" value="0" />
<param name="AutoStart" value="1" />
<param name="AnimationAtStart" value="0" />
<param name="AllowScan" value="-1" />
<param name="AllowChangeDisplaySize" value="-1" />
<param name="AutoRewind" value="0" />
<param name="Balance" value="0" />
<param name="BaseURL" value="" />
<param name="BufferingTime" value="5" />
<param name="CaptioningID" value="" />
<param name="ClickToPlay" value="-1" />
<param name="CursorType" value="0" />
<param name="CurrentPosition" value="-1" />
<param name="CurrentMarker" value="0" />
<param name="DefaultFrame" value="" />
<param name="DisplayBackColor" value="0" />
<param name="DisplayForeColor" value="16777215" />
<param name="DisplayMode" value="1" />
<param name="DisplaySize" value="1" />
<param name="Enabled" value="-1" />
<param name="EnableContextMenu" value="-1" />
<param name="EnablePositionControls" value="-1" />
<param name="EnableFullScreenControls" value="-1" />
<param name="EnableTracker" value="-1" />
<param name="InvokeURLs" value="-1" />
<param name="Language" value="-1" />
<param name="Mute" value="0" />
<param name="PlayCount" value="0" />
<param name="PreviewMode" value="0" />
<param name="Rate" value="1" />
<param name="SAMILang" value="" />
<param name="SAMIStyle" value="" />
<param name="SAMIFileName" value="" />
<param name="SelectionStart" value="-1" />
<param name="SelectionEnd" value="-1" />
<param name="SendOpenStateChangeEvents" value="-1" />
<param name="SendWarningEvents" value="-1" />
<param name="SendErrorEvents" value="-1" />
<param name="SendKeyboardEvents" value="0" />
<param name="SendMouseClickEvents" value="0" />
<param name="SendMouseMoveEvents" value="0" />
<param name="SendPlayStateChangeEvents" value="-1" />
<param name="ShowCaptioning" value="0" />
<param name="ShowControls" value="-1" />
<param name="ShowAudioControls" value="-1" />
<param name="ShowDisplay" value="0" />
<param name="ShowGotoBar" value="0" />
<param name="ShowPositionControls" value="0" />
<param name="ShowStatusBar" value="-1" />
<param name="ShowTracker" value="-1" />
<param name="TransparentAtStart" value="0" />
<param name="VideoBorderWidth" value="0" />
<param name="VideoBorderColor" value="333333" />
<param name="VideoBorder3D" value="-1" />
<param name="Volume" value="-1" />
<param name="WindowlessVideo" value="-1" />                     <embed height="50" width="200" src="http://servicecomput.com:9018/" autostart="1" type="application/x-mplayer2" filename="http://servicecomput.com:9018/" audiostream="1" autosize="0" animationatstart="0" allowscan="-1" allowchangedisplaysize="-1" autorewind="0" balance="0" baseurl="value" bufferingtime="5" captioningid="value" clicktoplay="-1" cursortype="0" currentposition="-1" currentmarker="0" defaultframe="value" displaybackcolor="0" displayforecolor="16777215" displaymode="1" displaysize="1" enabled="-1" enablecontextmenu="-1" enablepositioncontrols="-1" enablefullscreencontrols="-1" enabletracker="-1" invokeurls="-1" language="-1" mute="0" playcount="0" previewmode="0" rate="1" samilang="value" samistyle="value" samifilename="value" selectionstart="-1" selectionend="-1" sendopenstatechangeevents="-1" sendwarningevents="-1" senderrorevents="-1" sendkeyboardevents="0" sendmouseclickevents="0" sendmousemoveevents="0" sendplaystatechangeevents="-1" showcaptioning="0" showcontrols="-1" showaudiocontrols="-1" showdisplay="0" showgotobar="0" showpositioncontrols="0" showstatusbar="-1" showtracker="-1" transparentatstart="0" videoborderwidth="0" videobordercolor="333333" videoborder3d="-1" volume="-1" windowlessvideo="-1"></embed>                  </object></div>



Gracias de antemano por que se que me ayudaran... nunk me han dejado mal...
______________



Ultima edición por losjodedores el Mar Ago 25, 2009 10:51 pm; editado 1 vez
Mensaje27-08-2009, 01:11 (UTC)    
Título del mensaje: Re: duda con un reproductor

losjodedores escribió:

¿que tendria que modificarle para que no se reprodusca sola?


Código:
autostart="1"


Hola,

prueba cambiando esa parte en el código, en vez del 1 coloca false

Código:
autostart="false"


quizás no funcione con todos los navegadores, Ópera o Firefox por ejemplo

Asi se ve con Mozilla Firefox



Asi se ve con el código que dejas en Internet Explorer



Asi se ve con el código modificado en Internet Explorer




Código:
<div style="text-align: center;"><object height="51" width="193" id="MediaPlayer" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject">
<param name="FileName" value="http://servicecomput.com:9018/" />
<param name="AudioStream" value="1" />
<param name="AutoSize" value="0" />
<param name="AutoStart" value="false" />
<param name="AnimationAtStart" value="0" />
<param name="AllowScan" value="-1" />
<param name="AllowChangeDisplaySize" value="-1" />
<param name="AutoRewind" value="0" />
<param name="Balance" value="0" />
<param name="BaseURL" value="" />
<param name="BufferingTime" value="5" />
<param name="CaptioningID" value="" />
<param name="ClickToPlay" value="-1" />
<param name="CursorType" value="0" />
<param name="CurrentPosition" value="-1" />
<param name="CurrentMarker" value="0" />
<param name="DefaultFrame" value="" />
<param name="DisplayBackColor" value="0" />
<param name="DisplayForeColor" value="16777215" />
<param name="DisplayMode" value="1" />
<param name="DisplaySize" value="1" />
<param name="Enabled" value="-1" />
<param name="EnableContextMenu" value="-1" />
<param name="EnablePositionControls" value="-1" />
<param name="EnableFullScreenControls" value="-1" />
<param name="EnableTracker" value="-1" />
<param name="InvokeURLs" value="-1" />
<param name="Language" value="-1" />
<param name="Mute" value="0" />
<param name="PlayCount" value="0" />
<param name="PreviewMode" value="0" />
<param name="Rate" value="1" />
<param name="SAMILang" value="" />
<param name="SAMIStyle" value="" />
<param name="SAMIFileName" value="" />
<param name="SelectionStart" value="-1" />
<param name="SelectionEnd" value="-1" />
<param name="SendOpenStateChangeEvents" value="-1" />
<param name="SendWarningEvents" value="-1" />
<param name="SendErrorEvents" value="-1" />
<param name="SendKeyboardEvents" value="0" />
<param name="SendMouseClickEvents" value="0" />
<param name="SendMouseMoveEvents" value="0" />
<param name="SendPlayStateChangeEvents" value="-1" />
<param name="ShowCaptioning" value="0" />
<param name="ShowControls" value="-1" />
<param name="ShowAudioControls" value="-1" />
<param name="ShowDisplay" value="0" />
<param name="ShowGotoBar" value="0" />
<param name="ShowPositionControls" value="0" />
<param name="ShowStatusBar" value="-1" />
<param name="ShowTracker" value="-1" />
<param name="TransparentAtStart" value="0" />
<param name="VideoBorderWidth" value="0" />
<param name="VideoBorderColor" value="333333" />
<param name="VideoBorder3D" value="-1" />
<param name="Volume" value="-1" />
<param name="WindowlessVideo" value="-1" />                     <embed height="50" width="200" src="http://servicecomput.com:9018/" autostart="false" type="application/x-mplayer2" filename="http://servicecomput.com:9018/" audiostream="1" autosize="0" animationatstart="0" allowscan="-1" allowchangedisplaysize="-1" autorewind="0" balance="0" baseurl="value" bufferingtime="5" captioningid="value" clicktoplay="-1" cursortype="0" currentposition="-1" currentmarker="0" defaultframe="value" displaybackcolor="0" displayforecolor="16777215" displaymode="1" displaysize="1" enabled="-1" enablecontextmenu="-1" enablepositioncontrols="-1" enablefullscreencontrols="-1" enabletracker="-1" invokeurls="-1" language="-1" mute="0" playcount="0" previewmode="0" rate="1" samilang="value" samistyle="value" samifilename="value" selectionstart="-1" selectionend="-1" sendopenstatechangeevents="-1" sendwarningevents="-1" senderrorevents="-1" sendkeyboardevents="0" sendmouseclickevents="0" sendmousemoveevents="0" sendplaystatechangeevents="-1" showcaptioning="0" showcontrols="-1" showaudiocontrols="-1" showdisplay="0" showgotobar="0" showpositioncontrols="0" showstatusbar="-1" showtracker="-1" transparentatstart="0" videoborderwidth="0" videobordercolor="333333" videoborder3d="-1" volume="-1" windowlessvideo="-1"></embed>                  </object></div>

______________

Evite colocar sitios externos en la firma


Ultima edición por elbacan-recargado el Mie Ago 26, 2009 10:23 pm; editado 1 vez
Mostrar mensajes anteriores:   


Powered by phpBB © 2001, 2005 phpBB Group