Create a editable Youtube component in AEM. In this video we will create a component which will display the video from the youtube.
Create a folder structure first. Create folders like templates, components, page and content.
Now create a page component. PUt the init.jsp and parsys component on it. Now, create the template which will have the path of this page component. Copy the code of page component from github url : https://github.com/pankajchhatri/AEM
Now create a page and select our new template, you will see the parsys component there.
Now create the youtube component and again copy the code from github link. Here we are using iframe where we have src property which has url of youtube. Now to enable this component in sidekick/siderail create editconfig node. Create a touch dialog box having text field where you can put the video embed url. Now copy the embed url of video you want to display and put the url in the dialog box of the youtube component. And it is done.
share, support, like and subscribe
Subscribe : https://www.youtube.com/channel/UC5Lc...
LinkedIn : / pankaj-ch. .
Facebook : / pankajchhatri
Twitter : / pankajchhatri
Google plus : https://plus.google.com/u/0/+pankajch...
About : AEM/CQ5 tutorial is a youtube channel which helps you to learn AEM concepts theoretically as well as practically.