when i enter this URL http://localhost:4502/content/dam/file_example_MP4_1280_10MG.mp4 the video is getting downloaded in author i have configured ContentDispositionFilter as but i am getting same issue can you help me with this
Solved! Go to Solution.
Views
Replies
Total Likes
If you look at the description of the below filter, it says the filter adds Content-Disposition
as attachment
. But to play or display anything directly on the tab, you need the disposition to be inline
. So, just add the path you need to the exclude list. This will make the file/video/asset open in the browser tab instead of downloading.
Hi @Uday_BhaskarPe ,
Could you please confirm the AEM version you're using? Is it AEM 6.5 or AEM as a Cloud Service?
If you're on AEM as a Cloud Service, the Content Disposition Filter is no longer supported as per Adobe documentation: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/assets/assets-c...
In this case, to render the asset in the browser instead of downloading it, you'll need to handle it via Dispatcher headers using Content-Disposition: inline
.
Some references that might help:
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/content-disposition-on-aem...
I am Using AEM 6.5 i am not using any Dispatcher can i do it without dispatcher?
Views
Replies
Total Likes
If you look at the description of the below filter, it says the filter adds Content-Disposition
as attachment
. But to play or display anything directly on the tab, you need the disposition to be inline
. So, just add the path you need to the exclude list. This will make the file/video/asset open in the browser tab instead of downloading.
got it thank you
@Uday_BhaskarPe Did this solution work ?
Views
Replies
Total Likes
yes its working i have added video/mp4 in exclude list and disabled for all resource path
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies