Connect Your Videos
Before you begin
To get started you first must know the domain of where you store your videos and tell Image and Video Manager where that domain is. If you have a web site or an application that is already using Akamai to deliver content and that web site contains your videos (i.e. your videos are on the same domain), then Image and Video Manager already knows the location of your videos and you can proceed to the steps below to begin configuring video optimization.
If you have a web site or application that is not already using Akamai for delivery, you must first CNAME the domain of your web site to Akamai. If your videos are on a subdomain within the CNAME domain, then you are all set. If your videos are on a separate domain, then you must CNAME that to Akamai as well. For example, if your web site is www.travelanywhere.com, and your videos are at www.travelanywhere.com/videos, you must CNAME www.travelanywhere.com to Akamai and Image and Video Manager will automatically have access to your videos. Alternatively, If your web site is www.travelanywhere.com, and your videos are at www.videos.travelanywhere.com, you must CNAME both www.travelanywhere.com and www.videos.travelanywhere.com to Akamai.
After you CNAME any domains that contain videos to Akamai, for web sites not already on Akamai, you then need to use Akamai's Property Manager to set up a property (or configuration) that corresponds to your web site or application. This property lets Akamai know the hostname of your site. If you think of your web site as a tree structure, this is the top of the tree. Once you follow the steps below to connect Image and Video Manager to the location of your videos, Image and Video Manager can locate your videos by navigating this tree structure based on the URL that includes the hostname in your property.
Once the above is complete, you then need to navigate to the property that contains the domain with your videos. To enable Image and Video Manager to optimize your videos, you must add the Image Manager Video rule to that property in Property Manager.
- Have the ability to log in to Control Center and open Property Manager.
- Have a valid contract that includes Image and Video Manager.
- Create the property that corresponds to the site with media that you want to optimize. For more information, see the Property Manager Help.
To enable Image and Video Manager Video you must add it to your delivery configuration:
- Use the top-right menu in the header to select the appropriate Control Center account (one with access to the applicable product).
Enter the name of the property in the
Find Context field.
The Property Details screen displays.
Click Open Version # at the top of the
page and select the version number.
The Property Manager Editor displays.
Click Add Rule,
then select Image Manager Video, and click Insert Rule.
Attention: Be sure that the Image and Video Manager rule is the last rule that modifies origin settings. Check that no rule applies the Origin Server behavior after the Image and Video Manager rule. (Cloudlets origins however, which are configured with the Allow Cloudlets Origins behavior, can appear after the Image and Video Manager rule.) For more information refer to the Why should Image and Video Manager be the last rule in the configuration? Knowledge Base Article.
The Image Manager rule appears in the Property Manager Editor.
- Select the match criteria for the rule in the If section. Specify the file extensions of your videos.
In the Image Manager Video behavior,
complete these fields:
Image Manager Behavior Settings Field Action Video Optimization Settings Enable Set to On to enable video optimization. Scale for Mobile Turn on to scale videos down to the maximum screen resolution (as determined by the user agent) for smaller, mobile devices.CAUTION: This can affect page layout, so it is important to test on many devices with different screen sizes and resolutions. Use Best File Type Turn on to convert videos automatically to the best file type for the requesting device. This feature produces the smallest file size that retains video quality, based on the user agent and initial video file. Region Pick a location close to your site’s heaviest traffic. (If the region of heaviest traffic varies, choose United States.) Image and Video Manager distributes cached objects from here to edge servers. Traffic Settings Pristine Videos CP Code Required. Select the Content Provider (CP) code for traffic between Image and Video Manager and your origin, where your original videos reside. Derivative Videos CP Code Required. Select the CP code for traffic serving derivative videos to end users. Policy Set (API Key) Policy Set Type Select Standard to use the default name, based on your property name. Select custom to create a custom policy set name. Policy Set Name (API Key) Keep note of this set name, which associates a set of Image and Video Manager policies with this instance of the Image Manager behavior. You will need this value when setting up your policies in Image Manger's policy manager. You should put the word video in this name, so you know that this in a video policy when you select it in Image and Video Manager.
- Click Save and exit Property Manager.