title: JWPlayer 7 error on setup function not working
body: <p>I recently upgraded from 5.10 to 7.22 and am hosting the player and files myself.</p>
  
  <p>In my <code>&lt;head&gt;</code> is have the following:</p>
  
  <pre><code>&lt;script src="https://content.jwplatform.com/libraries/secretKeyXXX.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>The in the <code>&lt;body&gt;</code> I have the actual setup call:</p>
  
  <pre><code>&lt;div id="actualvideo"&gt;&lt;/div&gt;
  &lt;div class="video-controls"&gt;
      &lt;span class="playbtn"&gt;Play&lt;/span&gt;
      &lt;span class="length"&gt;
          &lt;span class="elapsed"&gt;&lt;/span&gt;&amp;nbsp;/&amp;nbsp;&lt;span class="totaltime"&gt;&lt;/span&gt;
      &lt;/span&gt;
      &lt;span class="captioning"&gt;CC&lt;/span&gt;
      &lt;span class="fullscreen"&gt;Fullscreen&lt;/span&gt;
  &lt;/div&gt;
  &lt;script&gt;
      $(document).ready(function () {
          var playerInstance = jwplayer('#actualvideo');
          playerInstance.setup({
              file: 'https://s3.amazonaws.com/urlpath/@content["FileName"]',
              image: '@content["Image"]',
              width: 640,
              height: 360,
              title: 'Basic Video Embed',
              description: 'A video with a basic title and description!',
              mediaid: '123456'
          });
          $('.video-controls .playbtn').on('click', function (e) {
              console.log('inside');
              playerInstance.pause();
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>But it's resulting with this error:</p>
  
  <p><code>Uncaught TypeError: playerInstance.setup is not a function</code></p>
  
  <p>And I can't figure out why. I've set it up as described on <a href="http://support.jwplayer.com/customer/en/portal/articles/1406723-basic-video-embed" rel="nofollow">their website</a>.</p>