Re: problema al abrir archivos mp3
| From: | Antonio J. Hernandez Blanco. | Date: | Wed, 03 Jul 2002 12:38:34 +0000 |
| Subject: | Re: problema al abrir archivos mp3 | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-24442@lists.php.net to get a copy of this message | ||
Hola
Te paso un pequeño codigo en html que usa el wmp, pero lo
puedes configurar para que aparezca en otra ventana al hacer
click encima del mp3, o cualquier otro formato mmedia.
<script language="JavaScript">
<!--
if ( navigator.appName == "Netscape" )
{
//-- This next line ensures that any plugins just
installed are updated in the Browser
//-- without quitting the browser.
navigator.plugins.refresh();
// We don't need the APPLET within IE
// ***Please note that if you do not need to script
events, you can safely remove the next two lines
document.write("\x3C" + "applet MAYSCRIPT
Code=NPDS.npDSEvtObsProxy.class")
document.writeln(" width=5 height=5 name=appObs\x3E
\x3C/applet\x3E")
}
//-->
</script>
<!-- Set ShowControls, ShowDisplay, ShowStatusBar to value 0
to not display the corresponding thing under the video
window -->
<OBJECT ID="NSPlay" WIDTH=160 HEIGHT=128
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://tuserver.com/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows Media Player
components..."
type="application/x-oleobject">
<PARAM NAME="FileName" VALUE="AQUI DEBES PONER EL
ARCHIVO A REPRODUCIR">
<PARAM NAME="ShowControls" VALUE="1">
<PARAM NAME="ShowDisplay" VALUE="1">
<PARAM NAME="ShowStatusBar" VALUE="1">
<PARAM NAME="AutoSize" VALUE="1">
</OBJECT>
Este archivo debes bajarlo para tu sitio o lo mandas a
ejecutar desde el sitio de microsoft nsmp2inf.cab
suerte.
On Wed, 3 Jul 2002 12:29:33 +0100
Alejandro Pérez Nava <ale@canaryweb.es> wrote:
> estoy abiriendo archivos mp3 q tengo en una base de datos
> mysql, al hacer
> clic en ellos y reproducirlos el navegador me abre el
> media player ala
> izquierda en el propio navegador, y no se por qué las
> cosas que tengo en
> javascript no me funcionan con el media player abierto
> independiente del
> navegador, ¿existe alguna posibilidad de forzar a que se
> abra independiente
> del navegador.
>
>
> Saludos y gracias
>
>
> ---------------------------------------------------------------------
> Archivo On-line: http://www.phpes.com/
> via news: news://news.phpes.com/
> Manual PHP en español: http://www.php.net/manual/es/
> Para dar de baja la suscripción, mande un mensaje a:
> lista-unsubscribe@phpes.com
>
______________________________________________________
\|||||||/ Ing. Antonio J. Hernández Blanco.
< - - > Universidad de Matanzas. Cuba.
\ L / Profesor & Webmaster.
-oOOo-------oOOo---------
|email:chino@umcc.cu \
| chinomsg@yahoo.es \
|Fax: 14258710365 \
|-----oOOo-------oOOo-------\
________________________________________________________
______________________________________________________
Servicio de correo de la Universidad de Matanzas, Cuba