Você está visualizando o conteúdo de ajuda da versão:

Your web sites and applications access Dynamic Media services by way of URL calls. After you publish an asset, Dynamic Media activates a URL string that references the asset. You can paste these URLs into a web browser for testing.

You link to URLs only if you are not using AEM as your WCM. Linking (versus embedding) is used when you want to deliver a video player as a pop-up or modal window. If you are using AEM as your WCM, you add the assets directly on your page.

To place these URL strings in your web pages and applications, copy them from Dynamic Media. 

Observação:

URL strings are only available for dynamic renditions of assets. They are currently not available for static assets that reside in DAM and not the dynamic media server. The URL button does not appear for renditions that are static.

Obtaining a URL for an Asset

You can obtain a URL string that is generated by an Image Preset or a Viewer Preset. After you copy the URL, it lands on the Clipboard so you can paste it as necessary to pages in your website or application.

Observação:

The URL is not available to copy until you have published the selected asset. In addition, you must also publish the viewer preset or image preset.

See Publishing Assets.

See Publishing Viewer Presets.

See Publishing Image Presets.

There are several different ways you can obtain a URL string. However, the steps below show you just one method you can use.

To obtain a URL for an asset:

  1. Navigate to the published asset whose image preset URL or viewer preset URL you want to copy, and tap the asset to open it.

    Remember that URLs are only available to copy after you have first published the assets. In addition, the viewer preset or image preset must also be published.

    See Publishing Assets.

    See Publishing Viewer Presets.

    See Publishing Image Presets.

  2. Based on the asset that you selected, do one of the following:

    • If you selected an image, in the drop-down menu, tap or click Renditions.

    Under the Dynamic heading, tap a preset name to view its rendition in the right frame. You may need to scroll the Renditions list to see the Dynamic heading. 

    At the bottom of the left rail, tap URL.

    chlImage_1
    • If you selected a spin set, an image set, a carousel set, or a video, in the drop-down menu, click or tap Viewers.

    In the left rail, tap or click a viewer preset name. A preview of the set or video is opened in a separate page.

    In the left rail, at the bottom, tap or click URL

    chlImage_1
  3. Select and copy the text to your web browser to preview the asset or to add to your web content page.

    To exit the URL window, click or tap the x or click or tap Close.

Obtaining a video URL for a published video rendition

  1. In AEM, navigate to Tools > Deployment > Cloud > Cloud Services.

  2. On the Cloud Services page, scroll down to the Dynamic Media Cloud Services heading, then tap Show Configurations.

  3. Under Available Configurations, tap the name of the configuration you want.

  4. On the Dynamic Media Cloud Settings page, under Video Service URL, copy down the entire URL path. You will need the copied URL path later in the steps.

    For example, the URL path may appear similar to the following:

    http://s7athens.macromedia.com:9090/DMGateway/

    (The path above is for illustration purposes only; it is not the actual path you copy.)

  5. Under Registration ID, copy the customer name found in the last part of the ID.

    For example, if the registration ID was 87654321|MyCompany, the customer name would be MyCompany.

  6. Near the upper-left corner of the page, tap or click Cloud Services, then tap or click the AEM icon and navigate to General > CRXDE Lite.

  7. Copy down the entire video rendition path from the JCR (Java Content Repository).

    For example, the video's rendition path may appear similar to the following:

    /_renditions_/0bd/0bd28743-a616-4fe6-92aa-6eae7c2112f/avs/Momentum_1080-0x720-2600k.mp4

    (The path above is for illustration purposes only; it is not the actual path you copy.)

  8. Arrange the copied information in the following order to form a complete URL path:

    <Video_Service_URL>/public/<Customer_name_from_Registration_ID>/<Video_rendition_path>

    For example, using the example paths and the example customer name from the steps above, the complete path appears as follows:

    http://s7athens.macromedia.com:9090/DMGateway/public/MyCompany/_renditions_/0bd/0bd28743-a616-4fe6-92aa-6eae7c2112ff/avs/Momentum_1080-0x720-2600k.mp4

    This is the complete video URL for a published video rendition.

How to deliver secure video

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 end of the URL to force secure video delivery.

For more information about secure video delivery and using the VideoPlayer.ssl configuration attribute in your URL path, 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.  

Observação:

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.

Esta obra está licenciada sob uma licença não adaptada da Creative Commons Attribution-Noncommercial-Share Alike 3.0  As publicações do Twitter™ e do Facebook não são cobertas pelos termos do Creative Commons.

Avisos legais   |   Política de privacidade online