Can I configure the closed captioning?

28 views
Skip to first unread message

Jeremy

unread,
Jan 11, 2011, 9:00:25 AM1/11/11
to reops, jeremym...@yahoo.com
Can I customize the closed captioning display on a REOPS player with
the XML config file or otherwise -- specifically, can I make the font
size bigger?

turbidity

unread,
Jan 11, 2011, 11:35:41 AM1/11/11
to reops
Hi Jeremy,

You certainly can modify it. If you open up the skin FLA for the skin
SWF you're using in the config, you can edit the closed captioning
component on the stage and increase the font size there. Then export a
SWF and use that.

Nils

Jeremy Markowitz

unread,
Jan 12, 2011, 7:39:22 AM1/12/11
to re...@googlegroups.com
Thanks, Nils...

First of all, I wanted to make sure -- is this the best arena for questions about the REOPS Player?

Regarding the skins -- I'm having trouble getting an altered skin to work properly after changing the Closed Captioning Text Field.

When compiling the altered fla, I get an error... I haven't added any actionscript to any frames:

_code_ (Compiled Clip), Line 1    Warning: 5002: The frame scripts of the symbol 'ClosedCaptionButton' have been ignored because a compiled clip contains a definition for com.realeyes.osmfplayer.controls.ClosedCaptionButton. To override the com.realeyes.osmfplayer.controls.ClosedCaptionButton definition, place a custom class file within your classpath.

I have a larger problem in that I can export a REOPS player sitting in an .fla file with the example PlayerConfig_Streaming.xml and it works fine, but I can't seem to embed it so it works on an html page.

I can't get any of the REOPS/SAMPLE folder's html files to work either.  They just come up as blank pages.

Cheers,
Jeremy



--
You received this message because you are subscribed to the Google Groups "reops" group.
To post to this group, send email to re...@googlegroups.com.
To unsubscribe from this group, send email to reops+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/reops?hl=en.


turbidity

unread,
Jan 12, 2011, 11:44:27 AM1/12/11
to reops
Yeah, this is definitely the place for REOPS questions. You've got the
creators of REOPS and people who work heavily with it watching the
forums.

You shouldn't need to worry about that warning, but if you do want to
make it go away, one thing to do is to right click the symbol in the
library, and go to Properties. In there, make sure the Base Class is
set to com.realeyes.osmfplayer.controls.ClosedCaptionButton and that
the clip's class is set to a non-existent class, such as
com.realeyes.osmfplayer.controls.ClosedCaptionButtonDisplay. This
makes Flash generate a class for the symbol that is based off of the
base class, but incorporates any frame scripts. My convention in doing
this is just to add Display to the end of the base class path and use
that as the symbol's class path.

On the matter of getting it to work in HTML, are you testing locally
or on a server? If I had to venture a guess, it sounds like it may be
looking for a config file that it can't find. If you're testing in
Flash and it is working, it is using the default config name that is
hard-coded in. In HTML, the config path is being drawn from the
FlashVars in the HTML. Check to make sure that value is the correct
path to your config. Also, if for some reason Javascript is turned
off, that would do it too. You might check to see if there are any
requests being made that are resulting in a 404. If you use a tool
like Firebug or TamperData you can see the requests being made by the
browser and see if any are erroring out. Chances are, something is
missing or is in the wrong place.

I hope that helps!

Nils


On Jan 12, 5:39 am, Jeremy Markowitz <deltad...@gmail.com> wrote:
> Thanks, Nils...
>
> First of all, I wanted to make sure -- is this the best arena for questions
> about the REOPS Player?
>
> Regarding the skins -- I'm having trouble getting an altered skin to work
> properly after changing the Closed Captioning Text Field.
>
> When compiling the altered fla, I get an error... I haven't added any
> actionscript to any frames:
>
> _code_ (Compiled Clip), Line 1    Warning: 5002: The frame scripts of the
> symbol 'ClosedCaptionButton' have been ignored because a compiled clip
> contains a definition for
> com.realeyes.osmfplayer.controls.ClosedCaptionButton. To override the
> com.realeyes.osmfplayer.controls.ClosedCaptionButton definition, place a
> custom class file within your classpath.
>
> I have a larger problem in that I can export a REOPS player sitting in an
> .fla file with the example PlayerConfig_Streaming.xml and it works fine, but
> I can't seem to embed it so it works on an html page.
>
> I can't get any of the REOPS/SAMPLE folder's html files to work either.
> They just come up as blank pages.
>
> Cheers,
> Jeremy
>
> On Tue, Jan 11, 2011 at 11:35 AM, turbidity <nils.thingv...@gmail.com>wrote:
>
>
>
>
>
>
>
> > Hi Jeremy,
>
> > You certainly can modify it. If you open up the skin FLA for the skin
> > SWF you're using in the config, you can edit the closed captioning
> > component on the stage and increase the font size there. Then export a
> > SWF and use that.
>
> > Nils
>
> > On Jan 11, 7:00 am, Jeremy <deltad...@gmail.com> wrote:
> > > Can I customize the closed captioning display on a REOPS player with
> > > the XML config file or otherwise -- specifically, can I make the font
> > > size bigger?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "reops" group.
> > To post to this group, send email to re...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > reops+un...@googlegroups.com <reops%2Bunsu...@googlegroups.com>.

Jeremy Markowitz

unread,
Jan 12, 2011, 2:21:26 PM1/12/11
to re...@googlegroups.com
I was mostly worried about that warning because after resizing fontsize in the text field in the skin .fla's closed caption mc, the text disappeared when I used the new .swf.

I'm more interested in figuring out the html page problem first, though.  I tested the html version both locally and on a server.  I've played with the config path both in the component inspector and removing/adding/changing the FlashVars in the html, pointing them at the config file various ways. I'm not seeing any errors with firebug.  I haven't really been able to get any of the samples working as an HTML implementation.

To unsubscribe from this group, send email to reops+un...@googlegroups.com.

turbidity

unread,
Jan 12, 2011, 3:27:07 PM1/12/11
to reops
Hmm. Is the Flash piece showing up in the page at all? Is it showing
up but never displaying anything? What is the exact behavior you're
seeing? I'm also guessing that your Flash player is up to date and
that Javascript is on.

On Jan 12, 12:21 pm, Jeremy Markowitz <deltad...@gmail.com> wrote:
> I was mostly worried about that warning because after resizing fontsize in
> the text field in the skin .fla's closed caption mc, the text disappeared
> when I used the new .swf.
>
> I'm more interested in figuring out the html page problem first, though.  I
> tested the html version both locally and on a server.  I've played with the
> config path both in the component inspector and removing/adding/changing the
> FlashVars in the html, pointing them at the config file various ways. I'm
> not seeing any errors with firebug.  I haven't really been able to get any
> of the samples working as an HTML implementation.
>
> > reops%2Bunsu...@googlegroups.com<reops%252Buns...@googlegroups.com >

Jeremy Markowitz

unread,
Jan 18, 2011, 10:52:47 AM1/18/11
to re...@googlegroups.com
I finally got my reops player up and streaming on the web, thanks.  I still need to solve the skinning issue -- the closed captioning is too wide and text is running off the screen.  I tried putting an altWidthThreshold variable in the XML config file to equal the player width, but that didn't do anything for the closed captioning.

I'm currently using the Lunar Skin.  I tried simply exporting the Lunar skin from the fla that is included in the REOPs download in the assets folder and by starting a new fla from the "create from template menu."  In both cases, I didn't make any changes in the fla, yet the newly exported skin is broken in the player.  The text does not show up in the CC box and the time sticks at 0 in the control bar.  I figure I need to at least figure out how to get the supplied fla to work before making changes to the text box, etc.  The compiling process gives the same error about frame scripts.  I'm compiling it with flash CS5. 

Thanks,
Jeremy

To unsubscribe from this group, send email to reops+un...@googlegroups.com.

turbidity

unread,
Feb 7, 2011, 10:11:50 PM2/7/11
to reops
The text problems you're having sound like they are related to fonts
not being embedded correctly. I thought that those were all taken care
of, but perhaps not. You can change it by going into the FLA and
changing the embed settings for the textfields in question. I thought
that it was using system fonts, namely the _sans system font.
> > > > reops%2Bunsu...@googlegroups.com<reops%252Buns...@googlegroups.com >
> > <reops%252Buns...@googlegroups.com<reops%25252Bunsubscribe@googlegroup s.com>>

Jeremy Markowitz

unread,
Feb 16, 2011, 9:27:44 AM2/16/11
to re...@googlegroups.com
I finally found the issues with the text -- I embedded 0-9 and : on the time readouts and basic latin on the cc field.  I also finally noticed that the cc text field Alpha was at 0%. 

It seems like exporting the skin only really works when the fla is in the skins folder in the example project, and must be exported to the same skins folder.  Anyway, I finally got my personal export to work -- thanks for your help. 


To unsubscribe from this group, send email to reops+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages