how to get blob URL, which url i can load in webview after uploading Images or Video on blob storage?

Suman Singh Bhati 1 Reputation point
2021-10-18T11:01:32.003+00:00

i am trying to get my uploaded data URL through l can load my data in webview in ios or android. currently i am using "blockBlob.storageUri.primaryUri" ,its returning a downloading URL but i want a URL through i can load my image or video on web browser or in webview. is this possible in Azure?

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pradeep Kommaraju 2,626 Reputation points
    2021-10-19T05:41:12.513+00:00

    Hi @Suman Singh Bhati

    Thank you for reaching out to Microsoft Q&A Platform .

    If i understand your question correctly , Here is what you can do to accomplish your task,

    1) Please make sure to set Public level permissions at the blob/container level
    141570-image.png

    2) You can then just click on either of uploaded images in the blob
    141547-image.png

    3) Once you paste the url on the browser you should be able to view the images without downloading .

    4) I have tested to access the same from Windows laptop and android as well .

    Hope this was helpful and please do let me know if this answer is acceptable for your use case.

    Thanks and Regards,
    Pradeep

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.