# Problem with FlvPlayback class

**URL:** <https://forum.kirupa.com/t/problem-with-flvplayback-class/283800>\
**Category:** flash\
**Created:** [March 11, 2009, 9:13am UTC](https://forum.kirupa.com/t/problem-with-flvplayback-class/283800 "2009-03-11T09:13:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kernel\_flash](https://avatars.discourse-cdn.com/v4/letter/k/a87d85/32.png) [@kernel\_flash](https://forum.kirupa.com/u/kernel_flash)\
**Post date:** [March 11, 2009, 9:13am UTC](https://forum.kirupa.com/t/problem-with-flvplayback-class/283800/1 "2009-03-11T09:13:36Z")

</div>

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

```auto

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.
