
getDuration returns 0
Calling getDuration during the on('play') event in v7 returns 0. I understand the video needed to buffer first and that's why calling the function during on('ready') is not sufficient, but if the video has started to play, shouldn't the duration be known as well?
I have created a jsfiddle demonstrating this issue. From my tests it takes somewhere between 200-300ms AFTER a video starts playing before the duration is retrievable. This affects both the initially loaded video as well as subsequent loading of videos changed through the API
https://jsfiddle.net/ntnmptvt/1/
Is this a bug? or is there something I missed?