# Closed Captions doesnt work for android with jw player

**URL:** https://community.wowza.com/t/closed-captions-doesnt-work-for-android-with-jw-player/41561
**Category:** Wowza Streaming Engine
**Created:** [April 7, 2014, 6:33pm UTC](https://community.wowza.com/t/closed-captions-doesnt-work-for-android-with-jw-player/41561 "2014-04-07T18:33:18Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Adam\_Kazi](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@Adam\_Kazi](https://community.wowza.com/u/Adam_Kazi)
#### Post date: [April 7, 2014, 6:33pm UTC](https://community.wowza.com/t/closed-captions-doesnt-work-for-android-with-jw-player/41561/1 "2014-04-07T18:33:18Z")

</div>

hi. ive created a module where i insert captions and cue points . client side i use jw player embeded in HTML 5 page . im able to retrieve caption and meta data using rtmp stream. but for mobile devices i cannot find meta data or captions.

how can i send data along with the stream for mobile devices . also how can i retrieve meta data on client side for android and IOS.

---

<div class="post-metadata">

### Author: ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)
#### Post date: [April 7, 2014, 2:56pm UTC](https://community.wowza.com/t/closed-captions-doesnt-work-for-android-with-jw-player/41561/2 "2014-04-07T14:56:08Z")

</div>

Hi,

You also need to add the following module to your Application:

In the **[install-dir]/conf/[application]/Application.xml** file, make the following additional modifications:

Add the following module to the end of the container:

```auto
<Module>
 <Name>ModuleOnTextDataToCEA608</Name>
 <Description>ModuleOnTextDataToCEA608</Description>
 <Class>com.wowza.wms.timedtext.live.module.ModuleOnTextDataToCEA608</Class>
</Module>

```

This will add CEA-608 captions so that iOS, and similar devices can display them.

This article describes [how to enabled WebVTT captions for live streaming](https://www.wowza.com/docs/how-to-stream-webvtt-subtitles-to-ios-for-closed-captioning#live), which will

also display on iOS 6.0, and greater, devices

Android support for live captions is still limited, but as of 4.4 WebVTT is supposed to be supported, so the above may have a chance of working for Android as well.

Daren

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [April 8, 2014, 7:15pm UTC](https://community.wowza.com/t/closed-captions-doesnt-work-for-android-with-jw-player/41561/3 "2014-04-08T19:15:35Z")

</div>

For html5 vod captions you can use a sidecar file such as the [webvtt option for the captions](https://www.wowza.com/docs/how-to-configure-closed-captioning-for-video-on-demand-streaming#webvttex). Each browser supports different caption types, but most if not all support webvtt. This is not supported for live at present.

Richard

---

<div class="post-metadata">

### Author: ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)
#### Post date: [February 22, 2015, 11:16pm UTC](https://community.wowza.com/t/closed-captions-doesnt-work-for-android-with-jw-player/41561/4 "2015-02-22T23:16:09Z")

</div>

Hi,

The captions for HLS streams are provided in the H264 SEI messages. These cannot be access in the way that onTextData can in RTMP streams.

Daren

---

<div class="post-metadata">

### Author: ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)
#### Post date: [April 6, 2015, 10:34pm UTC](https://community.wowza.com/t/closed-captions-doesnt-work-for-android-with-jw-player/41561/5 "2015-04-06T22:34:42Z")

</div>

Hi,

There is further information available from [JW Player here.](http://www.jwplayer.com/blog/introducing-jw-player-6-11-industry-leading-hls/)

But I don’t think they can be accessed for extraction. You may want to post / check there.

Daren

---

<div class="post-metadata">

### Author: ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)
#### Post date: [May 21, 2015, 11:10pm UTC](https://community.wowza.com/t/closed-captions-doesnt-work-for-android-with-jw-player/41561/6 "2015-05-21T23:10:27Z")

</div>

Hi,

This is being handled in ticket #128973.

Daren

---

<div class="post-metadata">

### Author: ![Adam\_Kazi](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@Adam\_Kazi](https://community.wowza.com/u/Adam_Kazi)
#### Post date: [April 8, 2014, 1:39pm UTC](https://community.wowza.com/t/closed-captions-doesnt-work-for-android-with-jw-player/41561/7 "2014-04-08T13:39:43Z")

</div>

i can see the captions in iOS using the native player . also i can see captions using VLC .

but what i wants is as follows

1. play HTTP stream in HTML 5. Retrieve captions live using any video player.

Can u tell me how can i change my PPT with sync (video) on mobile devices.

---

<div class="post-metadata">

### Author: ![Adam\_Kazi](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@Adam\_Kazi](https://community.wowza.com/u/Adam_Kazi)
#### Post date: [February 16, 2015, 12:38pm UTC](https://community.wowza.com/t/closed-captions-doesnt-work-for-android-with-jw-player/41561/8 "2015-02-16T12:38:37Z")

</div>

Thanks for your reply. one more issue . i can print my value of the caption in window.alert when i use rtmp streaming. But not with HLS . I want to print my caption value in window.alert in HLS streaming. Im using JW player. how can i do that …?

---

<div class="post-metadata">

### Author: ![Adam\_Kazi](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@Adam\_Kazi](https://community.wowza.com/u/Adam_Kazi)
#### Post date: [April 7, 2015, 12:27am UTC](https://community.wowza.com/t/closed-captions-doesnt-work-for-android-with-jw-player/41561/9 "2015-04-07T00:27:27Z")

</div>

Is there any way to access them

---

<div class="post-metadata">

### Author: ![Adam\_Kazi](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@Adam\_Kazi](https://community.wowza.com/u/Adam_Kazi)
#### Post date: [May 21, 2015, 12:40pm UTC](https://community.wowza.com/t/closed-captions-doesnt-work-for-android-with-jw-player/41561/10 "2015-05-21T12:40:31Z")

</div>

Currently i’m able to inject captions in live HLS stream and see it on iOS. I want to get that caption out on client side using jw player or javascript or anything.

Or Can we send ontextdata in live HLS stream and fetch the same data on client side. How can we slide sync in using HLS stream.
