November Happy Hour will be moved to Thursday December 5th.

Multiple Blob Providers

swc
swc
Vote:
 

I am using S3 to store our media assets using the Amazon blob providers, and this is working to an extent.

My question is with regards to when you have more than one blob provider.  For instance, if we have two S3 buckets, I can set up a blob provider that points to each, but it seems like all uploaded content goes to the one that is marked as default.  

Is there any means of letting the user select which of the two buckets the media they upload goes into?

Thanks!

#87711
Jun 19, 2014 22:23
Vote:
 

Hi,

Right now, all media files will come to the provider which's marked as default.

But mapping between BlobProvider and MediaData throught:

public virtual Uri BinaryDataContainer

So you can create media types and override the property for each provider: (image for S3, video for YouTube ... for instance)

// Ha Bui

#87715
Jun 20, 2014 6:14
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.