YouTube API: get video quality via API?

Can you tell when the video was fully encoded with the highest definition through the API?

As far as I can tell, the YouTube API provides the "state" of the video (processing, limitation, deletion, rejection and failure). However, I canโ€™t say whether the API supports video encoding quality (240p, 360p, 720i, etc.).

Does anyone know how to get this information?

+4
source share
1 answer

Taken directly from the docs :

player.getPlaybackQuality():String

This function retrieves the actual video quality for the current video. It returns undefined if there is no current video. Possible return values โ€‹โ€‹are hd1080 , hd720 , hd720 , large , medium and small .

+2
source

All Articles