On Wed, Aug 18, 2010 at 11:13 AM, Ian Hickson <[email protected]> wrote:

>
>
> On Mon, 24 May 2010, Philip Jägenstedt wrote:
> >
> > I think we both agree but aren't understanding each other very well, or
> I'm
> > not thinking very clearly. People will write players assuming that
> currentTime
> > starts at 0 and ends at duration. If this is not the case they will
> break, so
> > an API which makes this not be the case in very few cases isn't very
> nice.
>
> Agreed. I've made the API clearly say that "duration" is the time at the
> end, even in the case where the start is not actually zero, to sidestep
> this issue somewhat. (The start will almost always be zero, so the
> slightly misleading name seems like a non-issue.)
>


It's a shame we are using the word "duration" instead of the more
appropriate word "endTime" for this. Would it be too difficult to change it
at this time?

Cheers,
Silvia.

Reply via email to