Problem with FlvPlayback class

Hi,

I am going mad figuring out a situation here.

  1. I load a flv movie into flvplayback component using flvplayback class.
  2. I let the movie play till it’s end
  3. again if I play the same movie it doesn’t start from beginning.

Look at the code below


var url=prodObj.videoUrl
        if(prod_vid.contentPath==url)
        {
            prod_vid.pause();
            prod_vid.seek(0);
            prod_vid.play();
        }
        else
        {
            prod_vid.load(url);
            prod_vid.play();
        }

Can this be a problem because of incorrect encoding of flv file?
What kind of corrections are required, if at all to play an flv file in flvplayback component?

Thanks in advance.