I am 95% sure that the standard html5 video api does not disclose fps information, from what I read in the past months, another apis like MPEG-DASH and jwplayer represent more / different data.
It would be best to keep track of w3schools.com/tags/ref_av_dom.asp and similar mdn pages.
You can calculate this in real time yourself, and it should work most of the time, but I can imagine a case or two when it won't. Take a look at PresentedFrames and then do something like:
fps = video.time / PresentedFrames
Read more about PresentedFrames here (currently a proposal) and similar attributes with the same link .
source share