Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 866787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T09:52:01+00:00 2026-05-15T09:52:01+00:00

Could be a known issue, an issue with my code or an oversight on

  • 0

Could be a known issue, an issue with my code or an oversight on my part.

I have created a video player in flash. I have got it playing progressive and streaming over rtmp/rtmpt so that is all fine.

My only issue is that when the video’s are playing, the time-codes for time played and time remaining are not synced. So, if my video is 20 secs long and 5 have been played, time played will be 5secs, time remaining will be 16secs until it updates about half a second later.

So even though they are both being set with the same line of code, there are not changing at the same time. The time played changes, then a split second later the time remaining changes.

Anyone got any idea what this could be. Maybe a miscalculation on my part. Maybe I need to round up or down the remaining time. How can I sync the two times.

I understand this is probably an tough question to answer, I have done my best to explain it.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T09:52:02+00:00Added an answer on May 15, 2026 at 9:52 am

    This could be just as simple as an issue with how often you’re updating each item.

    More info is needed. Is this a custom video player? Are you using the FLVPlayback component? How are you setting the time?

    It sounds like the current time and total time are more accurate than the time remaining. If this IS a custom video player, is there any reason why instead of using two variables for the time remaining and the time played you can’t just set the time played using a variable and then set the time remaining to be (totalTime – timePlayed)? That way, they’ll be in sync.

    This is just guessing at this point. More info is needed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an array of objects in a known format, it could look like
I have some code that I know could be nicer if it's done in
this is a known issue with ItemsControl although I couldn't find a solution :(
I don't know what could be causing this issue, but for some reason, elements
I know I could code what I'm trying to achieve, but I'd like to
I have blocks of HTML code in a MySQL database and my framework needs
I've been trying to get my own opinion about this issue but could not,
I'm pretty sure this is a known issue and there is some info about
I'm not sure if this is a known issue that I am running into,
I've ran into an issue where code classes outside of my control use strings

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.