Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hello ! So i created a small application that play videos through VLC Plugin 2 from COM Components as shown here: C# Tutorial 100: How to embed VLC Media Player into C# Windows Forms Application - YouTube[^]

Now, the thing is that i want to embed some subtitles too. I found some solutions, like this:

C#
axVLC.playlist.add("file:///" + SubtitleFilePath, null);
axVLC.video.subtitle = 1;


The only solution i found, is to rename the subtitles with the exact same name of the movie, and leave it in the same path too. But i don't want that. Any other solution available ??

What I have tried:

C#
axVLC.playlist.add("file:///" + SubtitleFilePath, null);
axVLC.video.subtitle = 1;

and:

C#
axVLC.playlist.add("file:///" + SubtitleFilePath, null);
axVLC.subtitle = 1;
Posted
Updated 14-Oct-16 8:09am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900