I want to maintain videos in AEM DAM and use it in aem pages. I am following this document for setting video component https://experienceleague.adobe.com/docs/experience-manager-65/administering/operations/config-video..... I believe I have to use /libs/foundation/components/video component at page level but not sure if this video component is up to date because of cq:deprecated property set at component level.
Is there any wcm core component or any ootb component to use for video in aem 6.5?
Solved! Go to Solution.
Views
Replies
Total Likes
Consider creating a new Custom component, and leveraging HTML5 video tag [1]
<video width="320" height="240" controls> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> Your browser does not support the video tag. </video>
You can have more controls like auto play, play in loop ...
Hi , there is no OOTB video component available in 6.5. You would need to develop a custom video component as the one you are referring to is deprecated. You can use the embed core component if the video is embeddable/available on youtube.
Consider creating a new Custom component.
Consider creating a new Custom component, and leveraging HTML5 video tag [1]
<video width="320" height="240" controls> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> Your browser does not support the video tag. </video>
You can have more controls like auto play, play in loop ...
Does this approach need to have ffmpeg encoded installed ?
HTML5 video player support mp4 format also, so if you upload mp4 files, no encoding is needed.
Hi @Mario248 ,
"Adobe does not plan to make further enhancements to most of the Foundation Components stored in /libs/foundation/components. Look for the cq:deprecated and cq:deprecatedReason property in the component folder. AEM 6.5 has the Foundation Components included, and customers upgrading from earlier releases can keep using them as is. Further, the Foundation Components is completely supported even though deprecated."
Based on above statement you may use it and it is supported even it says deprecated.
However, IMHO - It is best practice to create custom component and use it.
Hope that helps!
Regards,
Santosh
Hi @Mario248 ,
There is no direct OOTB video component readily available. Even though there is an option similar to it, you have to Install FFmpeg and configure AEM separately & also Configure your Video Profiles.
This is not feasible for a few, in that case we have to custom implement.
You can see feature/video_component code for your refernce.
~Aditya.Ch
You can use the embed component to add reference to video resources [1].
Otherwise there is an enhancement request for a video component as part of core components[2].
[2]https://github.com/adobe/aem-core-wcm-components/issues/218