How does video.js get the resolution of the video?

jq can get the duration and resolution of the video by adding loadedmetadata. But how does video.js, get the resolution of the video?

Mar.12,2021

video.js processes the video tag, but the resolution of the video can be obtained as follows:

clipboard.png

just get it like a normal video.

Menu