In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Reproducir MP3

Foro público de Xailer en español
Responder
Avatar de Usuario
gerencia
Mensajes: 282
Registrado: Sab Jun 20, 2009 6:01 pm

Reproducir MP3

Mensaje por gerencia »

Hola a todos,
Alguien sabe como reproducir un MP3 en Xailer
Jose David Angulo Urzola
Auditoria y Sistemas Ltda.
Cartagena-Colombia
Avatar de Usuario
Hurricane
Mensajes: 262
Registrado: Mar Mar 24, 2015 10:21 am
Ubicación: Brasil
Contactar:

Re: Reproducir MP3

Mensaje por Hurricane »

Olá,

veja o exemplo SAMPLES\VIDEO\VideoPlayer.XPJ
O arquivo fonte da classe TVideoPlayer esta junto.

Código: Seleccionar todo

METHOD FormInitialize( oSender ) CLASS TVideo

   DeleteMenu( GetSystemMenu( ::Handle ), 2, MF_BYPOSITION )
   WITH OBJECT ::oMCI := TVideoPlayer():New( Self )
      //:cMediaFile := "fp.avi"
      :cMediaFile := "teste.mp3"
      :Create()
      ::SetClientSize( :nWidth, :nHeight )
   END
   ::lCentered := .T.

RETURN Nil

Código: Seleccionar todo

METHOD FormShow( oSender ) CLASS TVideo

   ::oMCI:Play()

RETURN Nil
gerencia escribió: Mié Ene 26, 2022 6:20 pm Alguien sabe como reproducir un MP3 en Xailer
Developments | Trainings | Projects
Site | E-mail | Messenger | YouTube
Avatar de Usuario
gerencia
Mensajes: 282
Registrado: Sab Jun 20, 2009 6:01 pm

Re: Reproducir MP3

Mensaje por gerencia »

Magnifico.

Mil Gracias.
Jose David Angulo Urzola
Auditoria y Sistemas Ltda.
Cartagena-Colombia
Responder