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?
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.
make sure you use your own component as resourceType in the Impl class
I have example here for Teaser core component https://github.com/arunpatidar02/aemaacs-aemlab/blob/f96ce5316dfa4798c72d2e87d3a0b41fc49791a4/core/s...
Yes i have also extended embed component successfully thats why it is weird to not have the youtubeimpl working. I have double-checked but it still calls the core youtube embeddable.