Subtitles problem

ipejasinovic
Posts: 7
Joined: 04 Apr 2017, 17:43

Subtitles problem

Post by ipejasinovic » 04 Apr 2017, 17:51

I haveve my own portal developed for MAG, but today I wanted to add full support for TVIP. After looking at TVIP JS API, I've found that there is no API for subtitles manipulation, internal or external. When I use MAG API for loading external subtitles, app crashes. I'm using TVIP s410. Any solutions?

TMC
Администратор
Posts: 925
Joined: 16 Jan 2014, 13:34

Re: Subtitles problem

Post by TMC » 05 Apr 2017, 09:28

Use the following:
TvipPlayer.getCurrentSubtitleStreamIndex();
TvipPlayer.setCurrentSubtitleStreamIndex(index);
TvipPlayer.attachExternalSubtitle(url);

For any other question about your portal integration, feel free to contact our tech support over: http://support.tvip.ru

ipejasinovic
Posts: 7
Joined: 04 Apr 2017, 17:43

Re: Subtitles problem

Post by ipejasinovic » 05 Apr 2017, 10:31

Thanks. That API calls I didn't find on Wiki.

ipejasinovic
Posts: 7
Joined: 04 Apr 2017, 17:43

Re: Subtitles problem

Post by ipejasinovic » 05 Apr 2017, 19:46

Still have problem with external subtitles. Internal subtitles work, but when call TvipPlayer.attachExternalSubtitle(), app crashes. I'm using subrip format for external subtitles. BTW, If i want to disable subtitles, how can I do that. Mostly, set index -1. Is there another way?

TMC
Администратор
Posts: 925
Joined: 16 Jan 2014, 13:34

Re: Subtitles problem

Post by TMC » 05 Apr 2017, 20:14

ipejasinovic wrote:Still have problem with external subtitles. Internal subtitles work, but when call TvipPlayer.attachExternalSubtitle(), app crashes. I'm using subrip format for external subtitles. BTW, If i want to disable subtitles, how can I do that. Mostly, set index -1. Is there another way?
Could you, please, provide your srt file for inpection?
Yes, set index to -1.

ipejasinovic
Posts: 7
Joined: 04 Apr 2017, 17:43

Re: Subtitles problem

Post by ipejasinovic » 05 Apr 2017, 20:19

http://reseller.xnetservice.net:10200/a ... redule.srt

That's the link. Maybe link is problem?

TMC
Администратор
Posts: 925
Joined: 16 Jan 2014, 13:34

Re: Subtitles problem

Post by TMC » 05 Apr 2017, 20:36

ipejasinovic wrote:http://reseller.xnetservice.net:10200/a ... redule.srt

That's the link. Maybe link is problem?
I've just tested it locally over our mediaplayer app. It seems to work fine. So, file is valid. Maybe it it really URL issue...

jimpop
Posts: 1
Joined: 13 May 2017, 04:07

Re: Subtitles problem

Post by jimpop » 13 May 2017, 04:11

Hi! I bought tv ip 410, However, the subtitles isnt working. Are you guys ever gonna do something about this issue? (Im also asking on the behalf of other people)

Regards Jim

TMC
Администратор
Posts: 925
Joined: 16 Jan 2014, 13:34

Re: Subtitles problem

Post by TMC » 13 May 2017, 11:24

Your issue is not clear. In most cases subtites work fine.

iptvfixaren
Posts: 14
Joined: 01 Feb 2017, 21:53

Re: Subtitles problem

Post by iptvfixaren » 15 May 2017, 00:53

adding teletext support On mag mode and m3u link. When will next update come tom 410-412?

Post Reply