![](https://secure.gravatar.com/avatar/06aacb2f1dbed200347db0a003fc6179?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
jwplayer.getPlayers() not always exists
I see that in some cases jwplayer.getPlayers() does not exist.
I can't find the documentation of that function.
I'm trying to find all players that exist on the page. It's not my page so I don't know their IDs or anything else (I write a 3rd party js that is added to the page).
For example, if you open console in this page: http://baby.healthguru.com/video/tips-for-new-moms
and write jwplayer.getPlayers() you will get an array (of one) players on the page.
If you do the same on this page: http://www.jwplayer.com/
you get type error (getPlayers is undefined).
Is this method exist only in specific api version?
Is there any other proven way to get a list of players on a page?
Thanks in advance,
Dan