How To Add Subtitle To Video VLC Activex in VB.NET

This forum is about all development around libVLC.
kaymakasm
New Cone
New Cone
Posts: 1
Joined: 06 Dec 2018 17:56

How To Add Subtitle To Video VLC Activex in VB.NET

Postby kaymakasm » 06 Dec 2018 17:59

Hello guys i have a problem on my project. I have a online video and one subtitle in my directory so i want to play video with subtitle on vlc activex tool. i tried this code but it doesnt work for me.

Code: Select all

AxVLCPlugin21.playlist.add("http://*****/video.mkv", "Title", ":sub-file=file:///C:\Users\Asım\\b****\1x1.srt") AxVLCPlugin21.playlist.play()
the video is playing but the subtitle is not showing. how can i fix it? (also i tried it : AxVLCPlugin21.video.subtitle = 1)

mfkl
Developer
Developer
Posts: 740
Joined: 13 Jun 2017 10:41

Re: How To Add Subtitle To Video VLC Activex in VB.NET

Postby mfkl » 07 Dec 2018 03:08

If you can avoid using AxVLCPlugin which is mostly unmaintained, I'd advise you do so.
https://mfkl.github.io


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 11 guests