# Centered fullscreen subs with flvPlaybackCaptioning

**URL:** https://forum.kirupa.com/t/centered-fullscreen-subs-with-flvplaybackcaptioning/260989
**Category:** Uncategorized
**Created:** [May 21, 2008, 7:59pm UTC](https://forum.kirupa.com/t/centered-fullscreen-subs-with-flvplaybackcaptioning/260989 "2008-05-21T19:59:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![oli\_G1](https://avatars.discourse-cdn.com/v4/letter/o/d26b3c/32.png) [@oli\_G1](https://forum.kirupa.com/u/oli_G1)
#### Post date: [May 21, 2008, 7:59pm UTC](https://forum.kirupa.com/t/centered-fullscreen-subs-with-flvplaybackcaptioning/260989/1 "2008-05-21T19:59:13Z")

</div>

hi… I’m working on a FLV player with subs support.

I have a FLVPlaybackCaptioning component, where autoLayout = false, simpleFormatting = false and captionTargetName set to a dynamic textbox. The textbox has its alignment set to center and it’s placed over the video, matching video’s width, and this works fine: subtitles display nicely centered.

But when I switch to fullScreen mode, I guess the flvPlaybackCaptioning component automatically switches its paramenter autoLayout to true. (I know, it has to, cause my dynamic text isn’t visible n full screen. Only the video is visible, and the subtitles have to be “in” it, which is achieved by setting autoLayout to true.)  
The problem is, **in fullscreen** with this autoLayout set to true, \*\*the subtitles are automatically aligned to the left \*\ ***border of the screen**.

Is there anything I can do about it? Can I display the subs in fullscreen mode without autoLayout being switched to true? Or can I somehow “change” the default autoLayout settings, so the alignment would be “center”?  
\*\*I just need the subtitles in fullscreen mode centered.

\*\*The subtitle XML file itself has some style information in, but don’t know how to use those; the captioning component kind of ignores them, despite the settings (autoLayout, simpleFormatting)

PLEASE HELP  
Thanks:)
