title: Embedding Youtube videos not working with Node-webkit
body: <p>I have an embedded youtube video in my nw.js app. The preview for the correct video shows up properly but when I click to play it I am met with the following error:</p>
  
  <p><a href="https://i.imgur.com/33OKLkO.png" rel="nofollow noreferrer">An error occurred, please try again later</a></p>
  
  <p>All of the videos in the app get this error, except for one that gets this puzzling error:</p>
  
  <p><a href="https://i.imgur.com/rT58UKh.png" rel="nofollow noreferrer">The following video contains content from the International Basketball Federation</a></p>
  
  <p>When I click these videos, I can see the first split second of the video before the error shows up.</p>
  
  <p>I tried enabling/disabling the webkit plugin in the manifest:</p>
  
  <pre><code>  "webkit": {
      "plugin": true
      }
  </code></pre>
  
  <p>and I tried using the Javascript Player API as suggested by in <a href="https://stackoverflow.com/questions/25622310/node-webkit-and-youtube-chrome-is-not-defined">this post</a>. However I still get the same errors.</p>
  
  <p>How can I get these videos to play properly?</p>
  
  <p>Here is the HTML (I'm using angularJS and the video is in a modal window) that displays the video:</p>
  
  <pre><code>&lt;script type="text/ng-template" id="myModalContent.html"&gt;
          &lt;object width="100%" height="600px" data={{video}}&gt; 
          &lt;/object&gt;
  
  &lt;/script&gt;
  </code></pre>
  
  <p>I also tried copying <a href="https://gist.github.com/octalmage/03a054bb27d597a9f095" rel="nofollow noreferrer">this example</a> using the Javascript Player API and even tried using the same video as the example but I'm still getting the same error.</p>
  
  <p>Thank you very much for your time. Let me know if you need anything else from me or if I am being unclear.</p>