Expand my Community achievements bar.

how to use indexdb for storing the multimedia asset in browser??

Avatar

Level 4

i'm currently working on the Proof of concept to store AEM multimedia files in the client browser using indexdb .

 

is there Anyone already tried??

3 Replies

Avatar

Community Advisor

Hi @vkarthick ,

I wonder if you can use Context hub that is provided OOTB by AEM to store client context. Client contexts are often used in a website implementation in order to achieve a certain amount of personalization of the contents of a website.

This framework enables for multiple functionalities such as targeting, segmentation, geolocalization, cart management, only to cite a few, and can be easily customized to provide more.

But, still if you would like to go through indexDB way then below article might be helpful for you:

https://hacks.mozilla.org/2012/02/storing-images-and-files-in-indexeddb/


Thanks
Tarun


Avatar

Level 4

@TarunKumar , Thanks Tarun.

 

I'm working on POC so the requirement is to use indexdb to store zip/vidoe/images etc.

 

i' traying to trigger indexdb logic upon clicking the button in AEM page

Avatar

Administrator

@vkarthick Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni