Hi! I'm trying to write a Flowplayer plugin who keep metaData's informations to do some controls.
Unfortunatly my code is unable to catch these informations and return me [ClipEvent type="onMetaData" info=null]
I put here the code:
// ActionScript Document
public function onLoad(player:Flowplayer):void {
// dispatch onLoad so that the player knows this plugin is initialized
...
_text.text = "#CARICAMENTO DEL PLAYER";
player.currentClip.onMetaData(traceMetaData);
}
private function traceMetaData(evt:ClipEvent):void {
_text.text +=evt.toString();
...
}
thank you for any help!
Unfortunatly my code is unable to catch these informations and return me [ClipEvent type="onMetaData" info=null]
I put here the code:
// ActionScript Document
public function onLoad(player:Flowplayer):void {
// dispatch onLoad so that the player knows this plugin is initialized
...
_text.text = "#CARICAMENTO DEL PLAYER";
player.currentClip.onMetaData(traceMetaData);
}
private function traceMetaData(evt:ClipEvent):void {
_text.text +=evt.toString();
...
}
thank you for any help!