I am starting to wonder..... is this even possible in this release of OSMF?
I have been trying all sorts of hacks and trying to got through the classes to see if
I can try and get it to work, but my understanding of the frame work is quite limited.
Can anyone offer any assistance?
1 person found this helpful
Couldn't you select the language up front and then assign the appropriate language-specific XML document to the metadata facet as the caption URL?
// Set the caption URL based on the selected language.
var captionURL:String = ...
// Assign to the resource the metadata that indicates that it should have a Timed Text
// document applied (and include the URL of that document).
var kvFacet:KeyValueFacet = new KeyValueFacet(CaptioningPluginInfo.CAPTIONING_METADATA_NAMESPACE);
kvFacet.addValue(new ObjectIdentifier(CaptioningPluginInfo.CAPTIONING_METADATA_KEY_URI), captionURL);
It is an idea but ideally I think the client would like to be able to switch at while the video is playing.
The funny thing is that I have managed to get it working with the CS3 FLVPlayback & FLVPlaybackCaptioning components by simply adding 2 instances of the FLVPlaybackCaptioning component. I did have some minor tweaks to sort but it works well.
I don't think that the current implementation of the Caption Plugin has been designed with this in mind.
It is a shame as I was quite looking forward to trying out OSMF. Maybe once it has matured some more.
If any one has any ideas then I am interested in hearing them