Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

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:
and write jwplayer.getPlayers() you will get an array (of one) players on the page.

If you do the same on this page:
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,

1 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

I don’t believe we have a call for that.

This question has received the maximum number of answers.