duration starts as NaN. Both events may fire when metadata is ready — log each to compare.
duration
NaN
Lines: 0 | Characters: 0