Load subtitles from file in MobileVLCKit-prod

iOS, iPad, iPhone, tvOS specific usage questions
Terius
New Cone
New Cone
Posts: 1
Joined: 10 May 2017 16:53

Load subtitles from file in MobileVLCKit-prod

Postby Terius » 10 May 2017 17:01

Hello,
I would like to load a subtitle file using the method:

- (BOOL)openVideoSubTitlesFromFile:(NSString *)path;

however every time it returns false. I load the file from the application bundle so the path (argument) looks like:
/private/var/mobile/Containers/Data/Application/43304090-E7D6-400F-8A79-F6DDD6969E41/BlackMirror.SRT

I use the MobileVLCKit-prod (2.7.9)
Tried on iOS 9.3.5 and iOS 10.3.1, same result on both devices.

I tried to search through the topics on this forum but found only ones related to VLC app and not custom library integration.
Please help.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Load subtitles from file in MobileVLCKit-prod

Postby Jean-Baptiste Kempf » 15 May 2017 10:37

Please share your logs.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 29 guests

cron