# Tried to disabled option(CC,CC Language and Audio Track) in video player which is provide by Roku

**URL:** <https://forum.developer.roku.com/t/tried-to-disabled-option-cc-cc-language-and-audio-track-in-video-player-which-is-provide-by-roku/9499>\
**Category:** Archived\
**Tags:** roku-developer-program\
**Created:** [August 28, 2020, 10:06am UTC](https://forum.developer.roku.com/t/tried-to-disabled-option-cc-cc-language-and-audio-track-in-video-player-which-is-provide-by-roku/9499 "2020-08-28T10:06:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaklasiyanikun](https://avatars.discourse-cdn.com/v4/letter/c/b782af/32.png) [@chaklasiyanikun](https://forum.developer.roku.com/u/chaklasiyanikun)\
**Post date:** [August 28, 2020, 10:06am UTC](https://forum.developer.roku.com/t/tried-to-disabled-option-cc-cc-language-and-audio-track-in-video-player-which-is-provide-by-roku/9499/1 "2020-08-28T10:06:16Z")

</div>

Roku Provided video option by default like the below image.

I tried with the below code But, I unable to fetch the key event in the Video player.

```auto
function onKeyEvent(key as String, press as Boolean) as Boolean
?"Video Player - press - " press "key - " key
?"Video Player - m.video.state - "m.video.state

        if (press) 
             if m.video.visible = true and m.video.state = "buffering" and m.video.state = "playing" then
                  if (key = "Options")
                       return true
                  end if
             end if 
      end if
end function

```

I also [refer](https://developer.roku.com/docs/developer-program/getting-started/architecture/content-metadata.md) to the content-metadata documentation and also check the Playback configuration attributes fields. But no Luck.

Is there any other configuration required for this?
