If you’re trying to display current time / time remaining / total time of an HTML5 audio element before it’s loaded, you can use the loadedmetadata listener. You can usually use the same listener that’s being used for the timeupdate handler.

Generally, framework event management should be fine as well, but I haven’t tried every framework or every event.