Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

What does result of getPresentingPlayerType() mean?

$
0
0

I am using YouTube's IFrame API and there is a function that can be called on a player named getPresentingPlayerType(). There is no information about its results neither in the documentation nor on any page on the internet.

I've figured out myself that if ads are playing its value is 1, otherwise 2. I know that there is a third value which is 3 by looking up the source code, but since the code is obfuscated I can't understand the meaning of it.

Does anyone know what these values really mean?


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>