title: Add event listeners to multiple video.js players on the same page
body: <p>I've add multiple videojs elements on same page and i want to use same events to them. I trying to load them inside a new array but isnt working correctly. Can you help me figure out put this to work?</p>
  
  <pre><code>var myPlayers = Array(_V_("video1"), _V_("video2"));
  myPlayers.ready(function () {
     var myPlayer = this;
     myPlayer.on("pause", function () {
        $('#'+myPlayer+' #accordion-section-title').removeClass('playing');
     });
     myPlayer.on("play", function () {
        $('#'+myPlayer+' #accordion-section-title').addClass('playing');
     });
   });
  </code></pre>