![](https://secure.gravatar.com/avatar/2ef97e14da32118966efa673553d6151?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
multiple players
I have a single page which has to have multiple players
The first player is static content so it can use bespoke "workarround" code if needed
the other players are generated by a content management system and so they all have to use the same code without work arrounds for each one
the html for the video areas of the page will look something like this
<div id="main_video"></div>
<div class="other_video" id="vid_1"></div>
<div class="other_video" id="vid_2"></div>
<div class="other_video" id="vid_3"></div>
<div class="other_video" id="vid_4"></div>
the "other_video" s will all have the exact same settings the only difference being the content being played
My plan was to have a single jwplayer('.other_video').setting() declaration to setup all the players
and the target the IDs of each video to change the content.
However i cant make this work
when i try to use a classname with jwplayer() it does not work
how can i make this work