Reply To: ghostriderofthenite Ultimate Bot project

#102139

this is suppose be method to play youtube video in vb6 media player not working bu no errors either hahaha

Private Sub Command74_KeyPress(KeyAscii As Integer)
Dim VideoAddr As String
VideoAddr = Replace(URLAddr.Text, “/watch?v=”, “/v/”)
If KeyAscii = 13 Then
WindowsMediaPlayer1.URL = VideoAddr
End If
End Sub