Using FLVPlayback and FLVPlaybackCaptioning components with a Timed Text xml caption file. I must use a tt xml, I can’t use cue points; our workflow isn’t set up that way. I want to shift the screen components around to make room for the captions (which I am displaying underneath the controls). My current workaround involves a frame listener and checking if the dtCap.text != “” (then captions are on, else they are off). I am using a TT xml, with no @dur; so this works fine except…
Since the captions do not start immediately, but default to on, the video frame shifts up abruptly when the captions finally start. There must be an event or a property associated with captions being toggled On or Off; but I can’t find it in the reference. I have found Adobe labs posts referencing a state of the skin itself, but they reference private variables which would require a rewrite of the FLVPlayback component.
TL;DR: How do I attach an event listener to the Caption button in an FLVPlayback skin? Or what property can I reference to determine if captions are On, even if the current caption is blank?