Reputation: 103
My code looks to be right, but when I press button nothing happens. What am I doing wrong?
Code below:
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
AxVLCPlugin21.playlist.add("C:\Users\Adminx\Downloads\The_Hobbit_Full_Length_Trailer_2_HD.mp4")
AxVLCPlugin21.playlist.play()
End Sub
End Class
Also in my toolbox
the vlc
things are written in Chinese. Is it meant to look like that (look at picture below)
Upvotes: 1
Views: 1516
Reputation: 103
I've figured what I was doing wrong
I needed to change: AxVLCPlugin21.playlist.add("C:\Users\Adminx\Downloads\The_Hobbit_Full_Length_Trailer_2_HD.mp4")
To this: AxVLCPlugin21.playlist.add("file:///C:/Users/Adminx/Downloads/The_Hobbit_Full_Length_Trailer_2_HD.mp4")
Upvotes: 1