3 Replies Latest reply on Dec 14, 2009 1:59 PM by Mr Binitie

    How I read the encoded metadata with OSMF as with the as3 onMetaData?

    chaimsaj

      Hi All:

      I have a Video Element, loading a clip. In As3 i can use the onMetadata() function to read the embedded metadata properties. I tried

       

      videoElement.client.addHandler(NetStreamCodes.ON_META_DATA, onMetaData);

       

      and I'm using the sprint 7. But it throws me an error:

       

      at org.osmf.video::VideoElement/get client()[C:\Dev\osmf\public\trunk\framework\MediaFramework\org\osmf\video\VideoElement.as:164]

       

      So I guess my code is older than sprint 7.

       

      Any idea someone?

       

      Thanks,

      Chaim