You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @trinonsense, please provide the player version or branch you are testing in.
I highly recommend you assign an id to the elements you pass to setup. If you don't the player should do that for you, but this isn't a use-case we test for.
This would assign a data attribute "data-jwplayer-id" to elements queried with jwplayer(domElememt) which do not have an id. The attribute is removed when jwplayer().remove() is called, and it is not present on the player element after setup, because the player always assigns an id to elements it creates.
Expected Behavior
multiple players initialized
Actual Behavior
only one player is initialized
Steps to reproduce
no id code: https://codepen.io/trinonsense/pen/KXzVNZ
with id code: https://codepen.io/trinonsense/pen/JrXXOE
Environment
The text was updated successfully, but these errors were encountered: