I need to create a progress bar control while playing media.I need an algorithm to construct the progress control.
MediaTotalPlayTime = 32000;
suppose width of the progress bar rectangle,
dx = 60.
I have to fill the rectangle every 1000 sec. So how much of the rectangle shd be filled every 1000th time.
Hope I have made myself clear!!!