title: Show video from chrome.desktopCapture.chooseDesktopMedia in a tab?
body: <p>I am trying out <code>chrome.desktopCapture.chooseDesktopMedia</code> in a chrome extension and I can get a desktop stream just fine.</p>
  
  <p>I am using the following to turn the stream into an <code>blob:</code>-URL in the background script as follows:</p>
  
  <pre><code>var objectUrl = URL.createObjectURL(stream);
  </code></pre>
  
  <p>What I can't seem to work out is how to set this as the src attribute of a video element on the injected page.  </p>
  
  <p>I have tried the following, each of which do not work:</p>
  
  <h2>In Background.js:</h2>
  
  <pre><code>var video     = document.getElementById("video");
  var objectUrl = URL.createObjectURL(stream);
  video.src     = objectUrl;
  </code></pre>
  
  <h2>In Content.js</h2>
  
  <pre><code>//objectUrl is a string received in a message from the background page by the content page
  var video     = document.getElementById("video");
  video.src     = objectUrl;
  </code></pre>
  
  <p>I get the following in the javascript console:</p>
  
  <blockquote>
    <p>Not allowed to load local resource: blob:chrome-extension://panahgiakgfjeioddhenaabbacfmkclm/48ff3e53-ff6a-4bee-a1dd-1b8844591a91</p>
  </blockquote>
  
  <p>I also get the same if I post the URL in a message all the way to the injected page.  Should this work? I'd really appreciate any advice here.</p>
  
  <p>In my manifest I also have
  <code>"web_accessible_resources": [ "*" ]</code> but that was only to see if it resolved this issue (it did not).</p>