Use the Embed Code feature when you want to play the video or view an asset embedded on a web page. You copy the embed code to the clipboard so you can paste it in your web pages. Editing of the code is not permitted in the Embed Code dialog box.
You embed URLs only if you are not using AEM as your WCM. If you are using AEM as your WCM, you add the assets directly on your page.
Navigate to the published video or image asset whose embed code you want to copy.
Remember that the embed code is only available to copy after you have first published the assets. In addition, the viewer preset or image preset must also be published.
In AEM 6.2, when you install FP-13480, you can control whether a video is delivered over a secure SSL connection (HTTPS) or an insecure connection (HTTP). By default, the video delivery protocol is automatically inherited from the protocol of the embedding web page. If the web page is loaded over HTTPS, the video is also delivered over HTTPS. And vice versa, if the web page is on HTTP, the video is delivered over HTTP. In most cases, this default behavior is fine and there is no need to make any configuration changes. However, you can override this default behavior by appending VideoPlayer.ssl=on to the list of other viewer configuration parameters in the embed code snippet.
For more information about secure video delivery and using the VideoPlayer.ssl configuration attribute in your embed code, see Secure Video Delivery in the Viewers Reference Guide. Secure video delivery is available for the Video viewer, Mixed Media viewer, and Interactive Video viewer.
You must install FP-13480 on both AEM Author and AEM Publish instances. Doing so ensures that you are using the latest Mixed Media, Video, and Interactive Video Viewers for use with secure video delivery.