XML cue point with Netstream flv

I have flv’s in the new H264 codec which apparently cannot have meta data cue points embedded like you would using Flash video encoder. I’m using Netstream in a custom player. Any suggestions how I would go about using XML cue points with Netstream? How would the playhead time trigger a search of the xml file?

Any suggestions would be great!

Thanks,
Jason

you need an xml with two things the “item” and the time when it should appear

you then in the player function, check the present time in reference to the xml in an array

do you want to trigger events or show something whilst a certain section of the video is visible?

Hi, what I’m trying to do is basically when X time occurs a function would be called to show a text blurb from the xml file that corresponds to the time. Basically a caption and some other minor visual changes.

Reading the xml into an array makes sense however its getting the time comparison functions to work is stumping me.

Thanks!
Jason