title: Adding a video to a playlist using the Youtube Player IFrame API
body: <p>I'm working on some kind of Youtube remote web application using the <a href="https://developers.google.com/youtube/iframe_api_reference" rel="nofollow">Youtube Player IFrame API</a> and got stuck when I tried to use the built-in playlist system as the queue for the application.</p>
  
  <p>Using the API, you are able to load a specific list of videos as a playlist with e.g.:</p>
  
  <pre><code>player.loadPlaylist({playlist: ['_9IBbMW2o_o']})`
  </code></pre>
  
  <p>But there is no function such as:</p>
  
  <pre><code>player.addVideoToPlaylist('_9IBbMW2o_o')
  </code></pre>
  
  <p>What I'm trying to do is adding a video without stopping or reloading the current playlist.</p>
  
  <p>Is there a workaround or am I missing something?</p>