Reproducir MP3
Publicado: Mié Ene 26, 2022 6:20 pm
Hola a todos,
Alguien sabe como reproducir un MP3 en Xailer
Alguien sabe como reproducir un MP3 en Xailer
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