# Styling in closed caption vod smil?

**URL:** <https://community.wowza.com/t/styling-in-closed-caption-vod-smil/52741>\
**Category:** Wowza Streaming Engine\
**Tags:** closed-captioning\
**Created:** [January 24, 2019, 5:09pm UTC](https://community.wowza.com/t/styling-in-closed-caption-vod-smil/52741 "2019-01-24T17:09:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ankit\_Gaur](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@Ankit\_Gaur](https://community.wowza.com/u/Ankit_Gaur)\
**Post date:** [January 24, 2019, 5:09pm UTC](https://community.wowza.com/t/styling-in-closed-caption-vod-smil/52741/1 "2019-01-24T17:09:04Z")

</div>

We are providing the subtitles in HLS stream via TTML files and are using SMIL’s to create M3U8’s. Subtitles work fine but how to enable styling in those captions?

We found some articles on how to put styling in TTML files like below, but sill the webvtt equivalent that Wowza delivers to the front end in form of chunks, does not contain any styling.

All we really need is to move captions to a certain position in forms of XY coordinates.

Here is the samle ttml we use:

_\<?xml version="1.0" encoding="utf-8"?\>_  
  
  
  
_ttm:titleSample TTML\</ttm:title\>_

  

_TOP SAMPLE TEXT_

  

_BOTTOM SAMPLE TEXT_

  

_Top Hello_

  

_Bottom Hello_

  

_He had a great story._

  

_- Did he tell you what it was about?  
- He did._

  

_In 1992, a shipping container  
fell overboard_

  

_on its way from China_

  

_to the United States,  
releasing 29,000 rubber ducks_

  

_into the Pacific Ocean._

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [January 24, 2019, 10:21pm UTC](https://community.wowza.com/t/styling-in-closed-caption-vod-smil/52741/2 "2019-01-24T22:21:37Z")

</div>

Let me check into this for you…

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [January 24, 2019, 10:48pm UTC](https://community.wowza.com/t/styling-in-closed-caption-vod-smil/52741/3 "2019-01-24T22:48:09Z")

</div>

What player are you using @Ankit Gaur? Sometimes the styling depends on the player, that is why I ask.

---

<div class="post-metadata">

**Author:** ![Ankit\_Gaur](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@Ankit\_Gaur](https://community.wowza.com/u/Ankit_Gaur)\
**Post date:** [January 25, 2019, 6:01am UTC](https://community.wowza.com/t/styling-in-closed-caption-vod-smil/52741/4 "2019-01-25T06:01:15Z")

</div>

Hi there, we are using, AVPlayer for IOS. I don’t think its a player issue as, I am tracking caption chunks in postman, and could not find any styling attributes in the chunks delivered to front end.

Thanks

---

<div class="post-metadata">

**Author:** ![Ankit\_Gaur](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@Ankit\_Gaur](https://community.wowza.com/u/Ankit_Gaur)\
**Post date:** [January 25, 2019, 4:34pm UTC](https://community.wowza.com/t/styling-in-closed-caption-vod-smil/52741/5 "2019-01-25T16:34:52Z")

</div>

Also this is the article we have used to implement the captions:

[https://www.wowza.com/docs/how-to-stream-webvtt-subtitles-to-ios-for-closed-captioning](https://www.wowza.com/docs/how-to-stream-webvtt-subtitles-to-ios-for-closed-captioning)

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [January 25, 2019, 5:57pm UTC](https://community.wowza.com/t/styling-in-closed-caption-vod-smil/52741/6 "2019-01-25T17:57:51Z")

</div>

Ok let me circle back with tech support and see what can find out.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [January 25, 2019, 6:59pm UTC](https://community.wowza.com/t/styling-in-closed-caption-vod-smil/52741/7 "2019-01-25T18:59:12Z")

</div>

Hello @Ankit Gaur, we do nut support styling of the captions at this time in our Wowza Player or in the Wowza Streaming Engine. Whether or not a player accepts the styling “directions” as far as location of the caption appears to be dependent on the player. Some ignore it and are just supportive of that feature. The JW player is worth exploring as a potential candidate for your needs.

I’m sorry for any inconvenience, but please do update the community on your results with other players.
