title: Streaming video from Azure blob storage
body: <p>I'm having problems getting an <code>.mp4</code> video stored in Azure blob storage to show in a website hosted on Azure. The video type is set to <code>video/mp4</code>, the storage account is not public, but it is linked to the web role, and I've updated the version using this bit of code:</p>
  
  <pre><code>var credentials = new StorageCredentials("myaccountname", "mysecretkey"); 
  var account = new CloudStorageAccount(credentials, true); 
  var client = account.CreateCloudBlobClient(); 
  var properties = client.GetServiceProperties(); 
  properties.DefaultServiceVersion = "2012-02-12"; 
  client.SetServiceProperties(properties); 
  </code></pre>
  
  <p>I'm not using any video player, just the HTML5 video tag. I also don't need anything fancy, I just want the video to play.</p>
  
  <p>Looking at the network tab in Chrome's dev tools, there are two entries for the <code>GET</code> request to fetch the video. The first one has a status of <code>(pending)</code> and the next one is <code>(canceled)</code>. </p>
  
  <p>I also gave it a link to a video which is in the website's content folder. This one also starts as <code>pending</code> but is resolved with a <code>204 Partial Content</code> and the video plays just fine.</p>
  
  <p>I'm out of stuff to look at, and any help and pointers are appreciated.</p>