To set the Video, an AEM author provides the Video ID in a component dialog:
This development article covers the following tasks:
1. Fetch the JSON Data using JSONObject into the Experience Manager component.
2. Play the video without the need to use an Iframe in HTML.
3. Video title and channel name shown using an accordion.
To read this development article, click https://helpx.adobe.com/experience-manager/using/aem63_htl_youtube.html.