title: jwplayer 6: how to dynamically load file, using javascript api?
body: <p>I am trying to migrate from jw5 to jw6.  </p>
  
  <p>In jw5, I was able to dynamically load a video:</p>
  
  <pre><code>myplayer.load({file: 'myfile.mov', image: 'mysplash.jpg'});
  </code></pre>
  
  <p>This does not work in jw6.  I have spent a lot of time looking through the online documentation, and have not found any references to <code>.load</code>.  I am beginning to fear this is no longer supported. The document '<a href="http://www.longtailvideo.com/support/jw-player/28834/migrating-from-jw5-to-jw6" rel="nofollow">migrating from jw5 to jw6</a>' has this cryptic comment:</p>
  
  <blockquote>
    <p>The jwplayer().setup() call is now the only valid method to embed media</p>
  </blockquote>
  
  <p>Does this mean it is no longer possible to dynamically load the player with a new file, for example in response to a click event, using the javascript api?  Must all files be specified in a playlist, during the initial player setup?</p>
  
  <p>Thank you.</p>