
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