Jwplayer subtitle compatibility for Android and iOS

I experimented with srt vtt and dfxp signatures in Jwplayer 6.

I was not able to get any of the three types to work on Android, but I saw how srt and Vtt work on Android with another player. Is it possible to get any of the formats for working on Android?

I was not able to get dfxp to work on the iPad (the other two work fine). Can i use dfxp with jwplayer on iPad?

I was not able to get any of the three types to work on the iPhone, but I saw that Vtt only works on the iPhone with another player. Can I use any of the formats to work on the iPhone?

+6
source share
3 answers

Supported Formats

JW Player 6 supports captions in three formats:

  • WebVTT, a simple text format that is part of the HTML5 standard.
  • SRT is a plain text format popular among file hosting services.
  • DFXP is an XML format popular among broadcasters.

VTT titles are preferred because they are part of the HTML5 standard. JW Player supports all three formats in all browsers, although in Flash mode and HTML5.

JW Player does not yet support captions on mobile devices (Android / iOS), because so far they cannot be completed. This restriction will be removed if these devices support text tracks natively.

Note. JW Player also supports captions embedded in the stream for HTTP Live Broadcast. See CEA-608 Closed Captions in HLS for more information.

Read more about here .

0
source

Currently, September 2015, closed captions are supported by Android and iOS.

but only in SRT format.

Adding captions The SDK supports adding subtitle tracks (subtitles) to video sources. At this time, the SDK only supports titles in the SRT format.

0
source

Regarding the iPhone part of your Q.

Take a look at the decision of James Herriven . He seems to have been successful at creating WebVTT labels that work on the iPhone.

Usage notes: http://www.dev.powered-by-haiku.co.uk/solutions/jwioscaptions/

Plugin (MIT License): http://www.dev.powered-by-haiku.co.uk/solutions/jwioscaptions/code/jwioscaptions.js

0
source

Source: https://habr.com/ru/post/959395/


All Articles