# Closed captions not appearing

**URL:** <https://forum.developer.roku.com/t/closed-captions-not-appearing/3958>\
**Category:** Archived\
**Tags:** roku-developer-program\
**Created:** [May 15, 2014, 3:15pm UTC](https://forum.developer.roku.com/t/closed-captions-not-appearing/3958 "2014-05-15T15:15:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![panzhuli](https://avatars.discourse-cdn.com/v4/letter/p/58956e/32.png) [@panzhuli](https://forum.developer.roku.com/u/panzhuli)\
**Post date:** [May 15, 2014, 3:15pm UTC](https://forum.developer.roku.com/t/closed-captions-not-appearing/3958/1 "2014-05-15T15:15:04Z")

</div>

I’m updating a current application for a client and am implementing the new Captioning spec ([http://sdkdocs.roku.com/display/sdkdoc/ … on+Support](http://sdkdocs.roku.com/display/sdkdoc/Closed+Caption+Support)). My code looks like this:

```auto

screen = CreateObject("roVideoScreen")
subtitle_config = {
      TrackName: episode.ccURL
  }
  metadata = {
      Stream: {
          Url: episode.stream
      },
      StreamFormat: "hls",
      SubtitelConfig: subtitle_config
  }
  screen.SetContent(metadata)
  screen.ShowSubtitle(true)
  screen.Show()

```

my episode.ccURL is in a format as such: [http://www.somesite.com/content.xml](http://www.somesite.com/content.xml)

The xml looks like this:

```auto

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<tt xmlns:tts="http://www.w3.org/ns/ttml#styling" xmlns="http://www.w3.org/ns/ttml">
  <head>
    <styling>
      <style xml:id="s1" tts:color="white" tts:fontFamily="proportionalSansSerif" tts:fontSize="22px" tts:textAlign="left" />
      <style xml:id="s2" style="s1" tts:fontStyle="italic" />
    </styling>
    <layout>
      <region xml:id="subtitleArea" style="s1" tts:extent="560px 62px" tts:padding="5px 3px" tts:backgroundColor="black" tts:displayAlign="after" />
    </layout>
  </head>
  <body region="subtitleArea">
    <div>
      <p begin="00:00:00:00" end="00:00:10:23"> </p>
      <p begin="00:00:10:23" end="00:00:14:12">>> male narrator: JULY, 2002,<br />THE WORLD'S PRESS GATHERS IN</p>
      <p begin="00:00:14:12" end="00:00:17:18">NEW YORK TO WITNESS THE MOST<br />EXTRAORDINARY AUCTION OF THE NEW</p>
      <p begin="00:00:17:18" end="00:00:21:18">MILLENNIUM.<br />JUST ONE ITEM IS FOR SALE:</p>
     [...and so forth..]
    </div>
  </body>
</tt>

```

I’ve turned on captions on my box’s settings, but the captions are not displaying. Thoughts? My Roku box is a 3100X and has v5.4 build 3358 on it.

Thanks!
