I'd like to use CuePoint to synchronize subtitles with my video.
Each Subtitle referer to CustomClass call for example "Subtitle", when CuePoint is reached i'd like to get the reference to my CustomClass Subtitle in event.info.paramters, but i can't cast this param to my CustomClass, because it's an Object type.
- Can i do this in AS3 without OSMF (simply with FLVPlayback, AddASCuePoint method and cuePoint event) ?
- Must i use your framework to do this ?
Sorry for my bad english...
Thanks so much
You don't have to use OSMF to use cue points, however we do provide cue point support in OSMF. I'd recommend you look at the CuePointSample to get an idea of how it all works:
Thanks for your reply,
I don't found answer for my case in your exemple above,
so, i'd like to know if is possible to use Array or Custom class in CuePoint parameters (type Object) if i put an Array or other class, in the event handler (onCuePoint) i have an undefined value...