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
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
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?
表示
返信
いいね!の合計
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 ?
表示
返信
いいね!の合計
yes its working i have added video/mp4 in exclude list and disabled for all resource path