# Convert bytesLoaded to secondsLoaded

**URL:** <https://forum.kirupa.com/t/convert-bytesloaded-to-secondsloaded/251055>\
**Category:** flash\
**Created:** [February 5, 2008, 1:00am UTC](https://forum.kirupa.com/t/convert-bytesloaded-to-secondsloaded/251055 "2008-02-05T01:00:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nineteen](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/nineteen/32/2679_2.png) [@Nineteen](https://forum.kirupa.com/u/Nineteen)\
**Post date:** [February 5, 2008, 1:00am UTC](https://forum.kirupa.com/t/convert-bytesloaded-to-secondsloaded/251055/1 "2008-02-05T01:00:08Z")

</div>

I I have a video that is 303 seconds long @ 15fps.

Using setInterval I would like to calculate how many esimated “seconds” are downloaded based on how many bytes have been downloaded.

Is this possible?
