title: Loading the youtube player API in Meteor
body: <p>I understand how to load the Youtube IFrame player API normally in a document:</p>
  
  <pre><code>var tag = document.createElement('script');
  tag.src = "https://www.youtube.com/iframe_api";
  var firstScriptTag = document.getElementsByTagName('script')[0];
  firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
  </code></pre>
  
  <p>How would I do this in a meteor application though? I can't just put a <code>&lt;script&gt;</code> tag inside a template and I don't know if I can access <code>document</code> in one of the template helpers.</p>
  
  <p>Is there some way to load it globally once the user connects for the first time?</p>