コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.
解決済み

video is getting downloaded i want to play it in browser

Avatar

Level 2

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 thisScreenshot (61).png 

1 受け入れられたソリューション

Avatar

正解者
Community Advisor

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.

VeenaVikraman_0-1750682105383.png

 

元の投稿で解決策を見る

6 返信

Avatar

Community Advisor

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...
 
Hope this helps

Veena ✌️

Avatar

Level 2

I am Using AEM 6.5  i am not using any Dispatcher can i do it without dispatcher?

Avatar

正解者
Community Advisor

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.

VeenaVikraman_0-1750682105383.png

 

Avatar

Level 2

got it thank you

Avatar

Community Advisor

@Uday_BhaskarPe  Did this solution work ? 

Avatar

Level 2

yes its working i have added video/mp4 in exclude list and disabled for all resource path