I'm using the ActiveX plugin "AxVLCPlugin21" of VLC to build my own player based on VB.Net. Everything worked fine until I installed the new VLC Player (2.0.1 Twoflower).
Now, I always face problems when loading jpgs i.e. the whole application is frozen and I don't get any exception. Here comes the code causing the crash:
Code: Select all
gv_CurrentMedia = gv_Files(gv_MediaIndex).FullName.ToString
AxVLCPlugin21.playlist.items.clear()
AxVLCPlugin21.playlist.add("file:///" & gv_CurrentMedia)
AxVLCPlugin21.playlist.playItem(0) ' --> CRASH
In the previous ActiveX version 1.1.11 of VLC I was using the following code to display the media but unfortunately this is not working with the new version 2.0.1:
Code: Select all
gv_CurrentMedia = gv_Files(gv_MediaIndex).FullName.ToString
AxVLCPlugin21.playlist.items.clear()
AxVLCPlugin21.playlist.add(gv_CurrentMedia)
AxVLCPlugin21.playlist.playItem(0)
By the way: Other media e.g. avi, mkv, mp3 causes no problem at all.
It would be great if someone could give me a hint to solve my problem since I tried so much but nothing could help so far.
Thank you!