# Checking the end of FLV Playback

**URL:** <https://forum.kirupa.com/t/checking-the-end-of-flv-playback/169471>\
**Category:** flash\
**Created:** [November 16, 2005, 3:59pm UTC](https://forum.kirupa.com/t/checking-the-end-of-flv-playback/169471 "2005-11-16T15:59:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MDiddy](https://avatars.discourse-cdn.com/v4/letter/m/3bc359/32.png) [@MDiddy](https://forum.kirupa.com/u/MDiddy)\
**Post date:** [November 16, 2005, 3:59pm UTC](https://forum.kirupa.com/t/checking-the-end-of-flv-playback/169471/1 "2005-11-16T15:59:27Z")

</div>

Is there any special trick to accurately getting the end of flv playback event? I have to build a player that’s also flash 7 compatible, which has an onEnterFrame in it that updates a progess bar. The bar calculates the ns.time/duration to figure the position in the video, but it NEVER gets to 100% with any flv I try - Ususally somewhere in the 98.5 - 99.5% range. Is there a clean way to detect when a video has complete playing?
