VB.NET - Active X VLC SUBTITLES SET

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
tartas
New Cone
New Cone
Posts: 1
Joined: 11 Jun 2016 15:25

VB.NET - Active X VLC SUBTITLES SET

Postby tartas » 11 Jun 2016 15:46

im using visual basic and im trying to set subtitles to video
im trying to set subtitles using "axvlc.subtitles.track=1" for example but this is only for subtitles in same location with video.
is there any way to set subtitles from a specific location ? like C:\subtitles\1.srt

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: VB.NET - Active X VLC SUBTITLES SET

Postby da2424 » 17 Jun 2016 20:15

It should work to add the file with the command line argument 'sub-file':

Code: Select all

AxVLCPlugin21.playlist.add("file:///d:/path/to/file.mp4", "Title", ":sub-file=file:///c:/subtitles/1.srt")


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 9 guests