In the youtube iframe API documentation it mentions briefly that player.getDuration()
returns elapsed time (instead of total time) for live events. It however does not mention how one would determine if the video is a live event or not. This seems like a pretty basic thing so I'm surprised there is almost no resource for this information.
How would one go about determining if the loaded video is a live event or not?