[AEM] Creating Proxy Component for Youtube Embeddable then overlaying Sling Model of it | Community
Skip to main content
September 15, 2023

[AEM] Creating Proxy Component for Youtube Embeddable then overlaying Sling Model of it

  • September 15, 2023
  • 2 replies
  • 1918 views

Is it possible to overlay the implementation of YouTube class? My requirement is to override the iframe src but it still calling the core youtube embeddable implementation. I know how to overlay implementation of core components ive tried to others like Embed component but i fail doing it in the youtube one.

 

Anyone has an idea if youtube embeddable can be overlayed?

 

Thanks alot!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

arunpatidar
Community Advisor
Community Advisor
September 15, 2023
gvmarceloAuthor
September 15, 2023

 

See above that I already overlayed the youtube embeddable component pointing to the core youtube embeddable and also created an extension but when i debug the component still calls the core YouTubeImpl.

 

arunpatidar
Community Advisor
Community Advisor
September 15, 2023

you need to override the implementation as well.

https://www.netcentric.biz/insights/2017/05/new-core-components 

Arun Patidar
kautuk_sahni
Community Manager
Community Manager
September 18, 2023

@gvmarcelo Did you find the suggestion from @arunpatidar 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
gvmarceloAuthor
September 18, 2023

Hi, i did what it said here https://www.netcentric.biz/insights/2017/05/new-core-components but still the component calls the core implementation. I am still checking on what would the issue be.

arunpatidar
Community Advisor
Community Advisor
September 18, 2023