title: youtube data api v3 search
body: <p>I'm trying to use the keyword search from the youtube data api v3 on my weebly site, but I can't get it to work.  I followed the instructions on the javascript code samples page.  I've added the "auth.js" file and the "search.js" to my project and I've plugged my user id into the "auth.js" file.  I inserted the following HTML code into my page, but it doesn't work.  Is something wrong with the code?  I tried changing the "disabled" attribute of the search button to "enabled", but it still didn't work.  If it's not the code, is it perhaps because it's a weebly site?  Any suggestions or help would be appreciated.  Thanks.     </p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Search&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div id="buttons"&gt;
    &lt;label&gt; &lt;input id="query" value='cats' type="text"/&gt;&lt;button id="search-button"    
  disabled onclick="search()"&gt;Search&lt;/button&gt;&lt;/label&gt;
  &lt;/div&gt;
  &lt;div id="search-container"&gt;
  &lt;/div&gt;
  &lt;script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="auth.js"&gt;&lt;/script&gt;
  &lt;script src="search.js"&gt;&lt;/script&gt;
  &lt;script src="https://apis.google.com/js/client.js?onload=googleApiClientReady"&gt;
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>