could someone help me to understand how to enable/support 3rd party video content from YouTube and Vimeo for embed component on cloud please.
Thank you
Solved! Go to Solution.
Views
Replies
Total Likes
Please check this https://github.com/arunpatidar02/aemaacs-aemlab#reference-content for the example authoring of YouTube component
<embed jcr:primaryType="nt:unstructured" sling:resourceType="aemlab/oneweb/components/embed" embeddableResourceType="core/wcm/components/embed/v1/embed/embeddable/youtube" type="embeddable" youtubeVideoId="ABj0yh-c_1U"/>
Please check this https://github.com/arunpatidar02/aemaacs-aemlab#reference-content for the example authoring of YouTube component
<embed jcr:primaryType="nt:unstructured" sling:resourceType="aemlab/oneweb/components/embed" embeddableResourceType="core/wcm/components/embed/v1/embed/embeddable/youtube" type="embeddable" youtubeVideoId="ABj0yh-c_1U"/>
@Lakshmi9 Are you using iframe?
if so, then you can simply click on the “share” link while on the youtube video page then click on “embed”. Now you can grab the correct url/link from the code which is everything inside the src attribute. This is the correct “embed” URL to use when creating lightbox style videos on the site.