# Flvplayback controls problem

**URL:** <https://forum.kirupa.com/t/flvplayback-controls-problem/315548>\
**Category:** Uncategorized\
**Created:** [October 28, 2010, 3:31pm UTC](https://forum.kirupa.com/t/flvplayback-controls-problem/315548 "2010-10-28T15:31:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Koga73](https://avatars.discourse-cdn.com/v4/letter/k/3bc359/32.png) [@Koga73](https://forum.kirupa.com/u/Koga73)\
**Post date:** [October 28, 2010, 3:31pm UTC](https://forum.kirupa.com/t/flvplayback-controls-problem/315548/1 "2010-10-28T15:31:56Z")

</div>

Hi,

I have a video player that I built and am only using the flvplayback component for actually playing the video. I am handling all of the controls and everything else.

I am experiencing a problem where after waiting 20-30 min after a video completes none of the controls work. This is probably because the stream has closed.

Currently, I have a listener for DISCONNECT event (which fires after the standard 5 min timeout). Upon disconnection I am calling seek(0) to jump the playhead back to the beginning. This was implemented to fix a bug where the idleTimeout would kill the controls if the player was paused for more than 5 minutes. That works fine.

I’m not sure what is causing the problem. I don’t know if it is the idleTimeout (but this works fine after 5 minutes) or if the FMS is closing the connection after 20-30? Either way I’m pretty sure the controls aren’t working because of a connection problem.

Any feedback?
