Serving Video Content from Azure Blob Storage

Viewed 11332

I am trying to serve MP4 Video content from Azure Blob Storage. I can get the video to play in modern browsers by ensuring that the Blob's Content Type is set to video/mp4; however I am unable to seek backwards.

Dropping the same video into an S3 bucket yields the desired result so I am ruling out problems with the content.

Do I need to configure the Storage role in a specific way to serve video content?

6 Answers

To anyone who wants to use the Azure CLI:

az storage account blob-service-properties update --account-name [account_name] --default-service-version '2020-10-02'

For anyone coming here from google:

Azure has two types of storage accounts: StorageV1/V2 (default option selected when making new account) and BlobStorage.

While the StorageV2 option may have more features, it does not support partial content requests, meaning Chrome will not allow video seeking.

You can identify the type of storage you have in the Azure Portal by navigating to your Storage Account > Properties > Account Type

Related