There are cases when I would like a VideoElement's TimeTrait to dispatch currentTimeChange events in addition to complete and durationChange events. I'm wondering what the logic is to not have this trait dispatching this event from the currentTimeChangeEnd protected method? Seems the only way to track an elements current time is to track it at the player level.
You can setup your own timer and track the currentTime values inside a TimeTrait instance.
I don't know why the TimeTrait doesn't dispatch the currentTimeChange event, but I suppose that this is intentional - you don't want to provide this kind of utility methods at this low level API level.
ionflow, why isn't MediaPlayer API good enough for you? Why do you need to get these events at the TimeTrait level?
I was hoping for this at the TimeTrait level so I didn't have to create a helper class with a timer in it that checked the duration was near completion. I wanted a quick way to listen to this event without that extra step. A timer will work. Thanks!