Du viser støtteinnhold for versjon:
- 6.5
- 6.4
- 6.3
- 6.2
- Eldre versjoner
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.
Merk:
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.
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.
Merk:
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.
There are several different ways you can obtain a URL string. However, the steps below show you just one method you can use.
-
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.
-
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.
- 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.
Dynamic Media supports the delivery of static assets, which are additional assets beyond just images and video. Supported static assets formats for delivery include the following:
- Animated GIF
- Audio files
- CSS
- JavaScript (when your company is configured with its own domain)
- SVG
- XML
- ZIP
To obtain a URL for a static asset:
-
Use any of the following methods to obtain the URL of the published static asset:
- The URL of the published static is the following:
- http://<server_name>/is/content/<company_name>/<static_asset_filename>.<extension>
For example, http://aem.com/is/content/adobe/image.gif.
- http://<server_name>/is/content/<company_name>/<static_asset_filename>.<extension>
- click Asset > Dynamic Renditions, then click on a dynamic rendition of the static asset and copy the URL.
Change the copied URL to use is/content in the path instead of is/image/.
- The URL of the published static is the following:
-
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.)
-
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.)
-
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.mp4This is the complete video URL for a published video rendition.
-
On the Dynamic Media Cloud Services Settings page, do the following:
- Under Video Service URL, copy the entire URL path. You will need the copied URL path later in these steps. For example, the URL path may appear similar to the following:
https://gateway-na.assetsadobe.com/DMGateway/
(The path above is for illustration purposes only; it is not the actual path you copy.)
- Under Registration ID, copy the customer name found in the last part of the ID. You will need the copied customer name later in these steps.
For example, if the registration ID was 87654321|demoCo, the customer name you copy would be demoCo.
-
Combine all the pieces you copied previously to create a string in the following order:
<video service URL><protocol selector><customer name><video asset path>
For example, using the copied information from the examples in these steps, the string would appear as follows:
https://gateway-na.assetsadobe.com/DMGateway/public-ssl/demoCo/content/dam/marketing/MyVideo.mp4
HTTP/2 is the new, updated web protocol that improves the way browsers and servers communicate. It provides faster transfer of information and reduces the amount of processing power that is needed. Delivery of Dynamic Media assets can now be over HTTP/2 which provides better response and load times.
See HTTP2 Delivery of Content for complete details on getting started using HTTP/2 with your Dynamic Media account.