Using the media component
Posted
#1
(In Topic #208)
Regular

Code
Private gPlayer As New MediaPlayer
Public Sub Form_Open()
gPlayer.URL = User.Home &/ "a.mp3"
End
Public Sub Button1_Click()
Print gPlayer.State;; gPlayer.Length
gPlayer.Play()
End
I get 'cannot set status', what is missing?
v 3.11.4
Posted
Regular

about audio file path you have to use:
gPlayer.URL = <COLOR color="#800000">Media.URL(</COLOR>User.Home &/ "a.mp3"<COLOR color="#800000">)</COLOR>
Europaeus sum !
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
Posted
Regular

Posted
Regular

Code (gambas)
Europaeus sum !
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
1 guest and 0 members have just viewed this.



