If you set this default version to “2011-08-18” then you will be able to do partial and pause\/resume downloads on blob objects.<\/strong> This is exactly what we were looking for !<\/p>\nTo do this, th only way I found was to create a little .NET program, reference the Azure SDK (thank you Nuget) and call the SetServiceProperties with the correct arguments.<\/p>\n
[csharp]
\nstring accountName = "your account Name";
\nstring accountKey = "your account key";
\nvar cloudStorageAccount = CloudStorageAccount
\n .Parse(string.Format(
\n "DefaultEndpointsProtocol=http;AccountName={0};AccountKey={1}"
\n , accountName, accountKey));<\/p>\n
CloudBlobClient client = cloudStorageAccount.CreateCloudBlobClient();<\/p>\n
var prp = client.GetServiceProperties();
\nclient.SetServiceProperties(new ServiceProperties()
\n {
\n DefaultServiceVersion = "2011-08-18",
\n Logging = prp.Logging,
\n Metrics = prp.Metrics<\/p>\n
});<\/p>\n
[\/csharp]<\/p>\n
Now you just have to use the uri of the video in your XAML UI ( or with a video tag) :
\n[xml]
\n<playerFramework:MediaPlayer Source="{Binding VideoUri}"
\n PosterSource="\/Assets\/Images\/videoPoster.png"
\n AutoPlay="False"
\n AutoLoad="False" \/>
\n[\/xml]<\/p>\n","protected":false},"excerpt":{"rendered":"
Videos are everywhere and specially in Windows 8 app. Using a Windows Azure’s blob to store them is a good solution and this what we choose in on of the app we build in my…<\/p>\n","protected":false},"author":3,"featured_media":1246,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[28,35,5],"tags":[36,37,38,39,41,40],"_links":{"self":[{"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/posts\/1241"}],"collection":[{"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/comments?post=1241"}],"version-history":[{"count":10,"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/posts\/1241\/revisions"}],"predecessor-version":[{"id":1252,"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/posts\/1241\/revisions\/1252"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/media\/1246"}],"wp:attachment":[{"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/media?parent=1241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/categories?post=1241"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/tags?post=1241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}