I'm using VB.Net and the VLC 2.2.2 ActiveX control to play movies.
When the user switches from one movie to another, I want to clear out the existing movie- ideally so that the ActiveX object displays the VLC traffic cone- and then load the new movie afresh.
However I'm using the .playlist.items.clear() method, and it's not doing anything. The first movie stays in the player, so when I try to add the second movie to a playlist, the second movie goes after the first, so as far as the user is concerned, the first movie is still playing.
Is this a fault in the .playlist.items.clear() method? Or am I doing something wrong?